Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b67eea9

Browse files
committed
Fixed a bug in the multi-reference test, had \s instead of \s*
1 parent e3ad175 commit b67eea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/template_handler_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def app
4242

4343
test "<reference> to multiple .ts files works" do
4444
get "/site/ref3_1.js"
45-
assert_match /var f1 = function \(\) \{\s\};\s*var f2 = function \(\) \{\s*\};\s*f1\(\);\s*f2\(\);\s*/,
45+
assert_match /var f1 = function \(\) \{\s*\};\s*var f2 = function \(\) \{\s*\};\s*f1\(\);\s*f2\(\);\s*/,
4646
last_response.body
4747
end
4848

0 commit comments

Comments
 (0)