Skip to content

Instantly share code, notes, and snippets.

@adammck
Created March 18, 2014 01:36
Show Gist options
  • Save adammck/9611957 to your computer and use it in GitHub Desktop.
Save adammck/9611957 to your computer and use it in GitHub Desktop.
The remaining failures on the test_against_spec branch of my mustache.go fork
--- FAIL: TestCommentsStandalone (0.00 seconds)
mustache_test.go:44: returned "Begin.\n\nEnd.\n",
expected "Begin.\nEnd.\n"
--- FAIL: TestCommentsIndentedStandalone (0.00 seconds)
mustache_test.go:55: returned "Begin.\n \nEnd.\n",
expected "Begin.\nEnd.\n"
--- FAIL: TestCommentsStandaloneLineEndings (0.00 seconds)
mustache_test.go:66: returned "|\r\n\r\n|",
expected "|\r\n|"
--- FAIL: TestCommentsStandaloneWithoutPreviousLine (0.00 seconds)
mustache_test.go:77: returned " \n!",
expected "!"
--- FAIL: TestCommentsStandaloneWithoutNewline (0.00 seconds)
mustache_test.go:88: returned "!\n ",
expected "!\n"
--- FAIL: TestCommentsMultilineStandalone (0.00 seconds)
mustache_test.go:99: returned "Begin.\n\nEnd.\n",
expected "Begin.\nEnd.\n"
--- FAIL: TestCommentsIndentedMultilineStandalone (0.00 seconds)
mustache_test.go:110: returned "Begin.\n \nEnd.\n",
expected "Begin.\nEnd.\n"
--- FAIL: TestDelimitersSections (0.00 seconds)
mustache_test.go:173: returned "[\n I got interpolated.\n |data|\n\n\n\n {{data}}\n I got interpolated.\n\n]\n",
expected "[\n I got interpolated.\n |data|\n\n {{data}}\n I got interpolated.\n]\n"
--- FAIL: TestDelimitersInvertedSections (0.00 seconds)
mustache_test.go:185: returned "[\n I got interpolated.\n |data|\n\n\n\n {{data}}\n I got interpolated.\n\n]\n",
expected "[\n I got interpolated.\n |data|\n\n {{data}}\n I got interpolated.\n]\n"
--- FAIL: TestDelimitersPartialInheritence (0.00 seconds)
mustache_test.go:200: returned "[ .yes. ]\n\n[ .yes. ]\n",
expected "[ .yes. ]\n[ .yes. ]\n"
--- FAIL: TestDelimitersStandaloneTag (0.00 seconds)
mustache_test.go:248: returned "Begin.\n\nEnd.\n",
expected "Begin.\nEnd.\n"
--- FAIL: TestDelimitersIndentedStandaloneTag (0.00 seconds)
mustache_test.go:259: returned "Begin.\n \nEnd.\n",
expected "Begin.\nEnd.\n"
--- FAIL: TestDelimitersStandaloneLineEndings (0.00 seconds)
mustache_test.go:270: returned "|\r\n\r\n|",
expected "|\r\n|"
--- FAIL: TestDelimitersStandaloneWithoutPreviousLine (0.00 seconds)
mustache_test.go:281: returned " \n=",
expected "="
--- FAIL: TestDelimitersStandaloneWithoutNewline (0.00 seconds)
mustache_test.go:292: returned "=\n ",
expected "=\n"
--- FAIL: TestInvertedDoubled (0.00 seconds)
mustache_test.go:741: returned "* first\n\n* second\n* third\n\n",
expected "* first\n* second\n* third\n"
--- FAIL: TestInvertedStandaloneLines (0.00 seconds)
mustache_test.go:860: returned "| This Is\n|\n\n| A Line\n",
expected "| This Is\n|\n| A Line\n"
--- FAIL: TestInvertedStandaloneIndentedLines (0.00 seconds)
mustache_test.go:872: returned "| This Is\n |\n \n| A Line\n",
expected "| This Is\n|\n| A Line\n"
--- FAIL: TestInvertedStandaloneLineEndings (0.00 seconds)
mustache_test.go:884: returned "|\r\n\r\n|",
expected "|\r\n|"
--- FAIL: TestInvertedStandaloneWithoutPreviousLine (0.00 seconds)
mustache_test.go:896: returned " ^\n/",
expected "^\n/"
--- FAIL: TestInvertedStandaloneWithoutNewline (0.00 seconds)
mustache_test.go:908: returned "^/\n ",
expected "^\n/\n"
--- FAIL: TestPartialsStandaloneLineEndings (0.00 seconds)
mustache_test.go:1023: returned "|\r\n>\r\n|",
expected "|\r\n>|"
--- FAIL: TestPartialsStandaloneWithoutPreviousLine (0.00 seconds)
mustache_test.go:1037: returned " >\n>\n>",
expected " >\n >>"
--- FAIL: TestPartialsStandaloneWithoutNewline (0.00 seconds)
mustache_test.go:1051: returned ">\n >\n>",
expected ">\n >\n >"
--- FAIL: TestPartialsStandaloneIndentation (0.00 seconds)
mustache_test.go:1066: returned "\\\n |\n<\n->\n|\n\n/\n",
expected "\\\n |\n <\n->\n |\n/\n"
--- FAIL: TestSectionsDeeplyNestedContexts (0.00 seconds)
mustache_test.go:1134: returned "1\n121\n12321\n1234321\n123454321\n\n1234321\n\n12321\n\n121\n\n1\n\n",
expected "1\n121\n12321\n1234321\n123454321\n1234321\n12321\n121\n1\n"
--- FAIL: TestSectionsDoubled (0.00 seconds)
mustache_test.go:1170: returned "* first\n\n* second\n* third\n\n",
expected "* first\n* second\n* third\n"
--- FAIL: TestSectionsStandaloneLines (0.00 seconds)
mustache_test.go:1325: returned "| This Is\n|\n\n| A Line\n",
expected "| This Is\n|\n| A Line\n"
--- FAIL: TestSectionsIndentedStandaloneLines (0.00 seconds)
mustache_test.go:1337: returned "| This Is\n |\n \n| A Line\n",
expected "| This Is\n|\n| A Line\n"
--- FAIL: TestSectionsStandaloneLineEndings (0.00 seconds)
mustache_test.go:1349: returned "|\r\n\r\n|",
expected "|\r\n|"
--- FAIL: TestSectionsStandaloneWithoutPreviousLine (0.00 seconds)
mustache_test.go:1361: returned " #\n/",
expected "#\n/"
--- FAIL: TestSectionsStandaloneWithoutNewline (0.00 seconds)
mustache_test.go:1373: returned "#/\n ",
expected "#\n/\n"
FAIL
exit status 1
FAIL _/Users/adammck/code/go/mustache 0.028s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment