buildkite / terminal-to-html

Converts arbitrary shell output (with ANSI) into beautifully rendered HTML
http://buildkite.github.io/terminal-to-html
MIT License
658 stars 44 forks source link

Flaky test: TestRendererAgainstCases renders APC escapes as processing instructions #87

Closed ticky closed 3 years ago

ticky commented 3 years ago
--- FAIL: TestRendererAgainstCases (0.00s)
    terminal_test.go:273: renders APC escapes as processing instructions
        input       "\x1b_bk;x=llamas\\;;y=alpacas\a"
        received    "<?bk y=\"alpacas\" x=\"llamas;\"?>"
        expected    "<?bk x=\"llamas;\" y=\"alpacas\"?>"
FAIL

This spec fails intermittently, presumably due to go not guaranteeing order of several of its types.