Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@usev6
Created November 2, 2017 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save usev6/2e15b87350d481eb73905bfc3ae9f952 to your computer and use it in GitHub Desktop.
Save usev6/2e15b87350d481eb73905bfc3ae9f952 to your computer and use it in GitHub Desktop.
Failing tests for \c[BELL] on JVM
$ PERL6LIB=lib ./perl6-j t/spec/S32-str/parse-names.t
1..20
ok 1 - empty string (sub form)
ok 2 - one char (sub form)
ok 3 - one char with whitespace around it (sub form)
ok 4 - two chars (sub form)
ok 5 - two chars with whitespace around (sub form)
1..2
ok 1 -
ok 2 - right exception type (X::Str::InvalidCharName)
ok 6 - trailing comma
1..2
ok 1 -
ok 2 - right exception type (X::Str::InvalidCharName)
ok 7 - prefixed comma
1..2
ok 1 -
ok 2 - right exception type (X::Str::InvalidCharName)
ok 8 - unknown name
1..2
ok 1 -
ok 2 - right exception type (X::Str::InvalidCharName)
ok 9 - unknown name + known name
1..2
ok 1 -
ok 2 - right exception type (X::Str::InvalidCharName)
ok 10 - known name + unknown name
ok 11 - empty string (method form)
not ok 12 - one char (method form)
# Failed test 'one char (method form)'
# at t/spec/S32-str/parse-names.t line 11
# expected: "\x[7]"
# got: "\x[d83d]\x[dd14]"
not ok 13 - one char with whitespace around it (method form)
# Failed test 'one char with whitespace around it (method form)'
# at t/spec/S32-str/parse-names.t line 12
# expected: "\x[7]"
# got: "\x[d83d]\x[dd14]"
not ok 14 - two chars (method form)
# Failed test 'two chars (method form)'
# at t/spec/S32-str/parse-names.t line 15
# expected: "\x[7]♥"
# got: "\x[d83d]\x[dd14]♥"
not ok 15 - two chars with whitespace around (method form)
# Failed test 'two chars with whitespace around (method form)'
# at t/spec/S32-str/parse-names.t line 16
# expected: "\x[7]♥"
# got: "\x[d83d]\x[dd14]♥"
1..2
ok 1 -
ok 2 - right exception type (X::Str::InvalidCharName)
ok 16 - trailing comma
1..2
ok 1 -
ok 2 - right exception type (X::Str::InvalidCharName)
ok 17 - prefixed comma
1..2
ok 1 -
ok 2 - right exception type (X::Str::InvalidCharName)
ok 18 - unknown name
1..2
ok 1 -
ok 2 - right exception type (X::Str::InvalidCharName)
ok 19 - unknown name + known name
1..2
ok 1 -
ok 2 - right exception type (X::Str::InvalidCharName)
ok 20 - known name + unknown name
# Looks like you failed 4 tests of 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment