Skip to content

Commit

Permalink
Make one of the bin/tilt specs pass if erubi/erubis is not installed (F…
Browse files Browse the repository at this point in the history
…ixes #8)
  • Loading branch information
jeremyevans committed Aug 22, 2023
1 parent f4128e5 commit b09ad89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tilt_cli_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def tilt(*argv)
exit_code, stdout, stderr = tilt('-y', 'test/mylayout.erb', 'test/mytemplate.erb')
assert_equal 0, exit_code
assert_empty stderr
assert_equal stdout, "Before\nAnswer: 2\n\nAfter\n"
assert_equal "Before\nAnswer: 2\nAfter\n", stdout.sub("\n\n", "\n")
end

it "should show error message for invalid engine" do
Expand Down

0 comments on commit b09ad89

Please sign in to comment.