Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests failed after kaitai-io/kaitai_struct_compiler#269 (8aeb79a0…
…069a708bd10cc5b4cc4e3ddf89f58289) Fixes [info] - expr_bytes_to_s_arg0 *** FAILED *** [info] expr_bytes_to_s_arg0.ksy: /instances/bad/value: [info] error: wrong arguments to method call `to_s` on byte array: expected (string), got () [info] did not equal expr_bytes_to_s_arg0.ksy: /instances/bad/value: [info] error: to_s: expected 1 argument, got 0 (SimpleMatchers.scala:34) [info] - expr_bytes_to_s_arg2 *** FAILED *** [info] expr_bytes_to_s_arg2.ksy: /instances/bad/value: [info] error: wrong arguments to method call `to_s` on byte array: expected (string), got (Str(foo), Str(bar)) [info] did not equal expr_bytes_to_s_arg2.ksy: /instances/bad/value: [info] error: to_s: expected 1 argument, got 2 (SimpleMatchers.scala:34) [info] - expr_bytes_to_s_type *** FAILED *** [info] expr_bytes_to_s_type.ksy: /instances/bad/value: [info] error: wrong arguments to method call `to_s` on byte array: expected (string), got (IntNum(123)) [info] did not equal expr_bytes_to_s_type.ksy: /instances/bad/value: [info] error: to_s: argument #0: expected string literal, got IntNum(123) (SimpleMatchers.scala:34)
- Loading branch information