Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix failing test

  • Loading branch information...
commit 28b4365e8d15d9b341eb5a6c457d25d5dd0c21c4 1 parent 799b692
Doug Beardsley mightybyte authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/suite/Blackbox/Tests.hs
2  test/suite/Blackbox/Tests.hs
View
@@ -100,7 +100,7 @@ reloadTest = testCase "reload test" $ do
copyFile badTplOrig badTplNew
requestNoError' "good" "404"
requestNoError' "bad" "404"
- requestTest' "admin/reload" "Error reloading site!\n\ntemplates/bad.tpl \"templates/bad.tpl\" (line 2, column 1):\nunexpected end of input\nexpecting \"=\", \"/\" or \">\"\n"
+ requestTest' "admin/reload" "Error reloading site!\n\nInitializer threw an exception...\ntemplates/bad.tpl \"templates/bad.tpl\" (line 2, column 1):\nunexpected end of input\nexpecting \"=\", \"/\" or \">\"\n\n\n...but before it died it generated the following output:\nInitializing app @ /\nInitializing heist @ /heist\n\n"
remove badTplNew
copyFile goodTplOrig goodTplNew
requestTest' "admin/reload" "Initializing app @ /\nInitializing heist @ /heist\n...loaded 5 templates\nInitializing foosnaplet @ /foo\n...adding 1 templates from snaplets/foosnaplet/templates with route prefix foo/\nInitializing baz @ /\n...adding 2 templates from snaplets/baz/templates with route prefix /\nInitializing CookieSession @ /session\nInitializing embedded @ /embed\nInitializing heist @ /embed/heist\n...loaded 5 templates\n...adding 1 templates from snaplets/embedded/templates with route prefix embed/embedded/\nSite successfully reloaded.\n"
Please sign in to comment.
Something went wrong with that request. Please try again.