We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ba1f79 commit 79b8daeCopy full SHA for 79b8dae
test/runnable_test.cr
@@ -107,11 +107,9 @@ class RunnableTest < Minitest::Test
107
stdout = execute("--verbose", pass: false)
108
assert_match /ABCTest#test_error = [\d.]+ s = E/, stdout
109
assert_match "Exception: oopsie\n", stdout
110
- {% if flag?(:windows) %}
111
- assert_match /test\\runnable_.+_test.cr:\d+ in 'test_error'/, stdout
112
- {% else %}
113
- assert_match /test\/runnable_.+_test.cr:\d+:\d+ in 'test_error'/, stdout
114
- {% end %}
+
+ path = Path.new("test", "runnable").to_s
+ assert_match /#{path}_.+_test.cr:.* in 'test_error'/, stdout
115
end
116
117
def test_skip
0 commit comments