Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite fails (0.2.1.0) #133

Open
nomeata opened this issue Jun 13, 2022 · 0 comments
Open

Test suite fails (0.2.1.0) #133

nomeata opened this issue Jun 13, 2022 · 0 comments

Comments

@nomeata
Copy link

nomeata commented Jun 13, 2022

Running the test suite (with ghcjs-8.10) I see the following failures:

Test suite tests: RUNNING...
orig: "j'\986972\&7<Viy:\ESC\988224\1096595^\990150o\DC4YN\15954" /= "'\986972\&7<Viy:\ESC\988224\1096595^\990150o\DC4YN\15954"
tail: ":\ESC\988224\1096595^\990150o\DC4YN\15954" /= "\ESC\988224\1096595^\990150o\DC4YN\15954"
orig: "\ESC\988224\1096595^\990150o\DC4YN\15954" /= "\988224\1096595^\990150o\DC4YN\15954"
head: "\ESC\988224\1096595^\990150" /= "\988224\1096595^\990150"
head: "\ESC\988224\1096595^\990150" /= "\988224\1096595^\990150"
orig: "\ESC\988224\1096595^\990150" /= "\988224\1096595^\990150"
orig: "\ESC\1096595^\990150" /= "\1096595^\990150"
orig: "\ESC\1096595^\990150" /= "\1096595^\990150"
orig: "\ESC\1096595\990150" /= "\1096595\990150"
head: "\ESC\1096595" /= "\1096595"
orig: "\ESC\990150" /= "\990150"
orig: "a\990150" /= "\990150"
orig: "a\990150" /= "\990150"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "8"
tail: "" /= "a"
tail: "" /= "a"
Buffer:
  byte length works: [OK, passed 100 tests]
  fromByteString - no offset: [OK]
  fromByteString - offset: [OK]
  toByteString: [OK]
  toByteString - offset: [OK]
Properties:
  creation/elimination:
    j_pack_unpack: [OK, passed 100 tests]
    j_pack_unpack': [OK, passed 100 tests]
    packing astral plane character: [OK]
    j_stream_unstream: [OK, passed 100 tests]
    j_reverse_stream: [OK, passed 100 tests]
    j_singleton: [OK, passed 100 tests]
    j_singleton': [OK, passed 100 tests]
  instances:
    s_Eq: [OK, passed 100 tests]
    sf_Eq: [OK, passed 100 tests]
    j_Eq: [OK, passed 100 tests]
    s_Ord: [OK, passed 100 tests]
    sf_Ord: [OK, passed 100 tests]
    j_Ord: [Failed]
*** Failed! Falsified (after 56 tests and 10 shrinks):
"\61525"
"\995232"
(used seed -1535398854)
    j_Read: [OK, passed 100 tests]
    j_Show: [OK, passed 100 tests]
    j_mappend: [OK, passed 100 tests]
    j_mconcat: [OK, passed 100 tests]
    j_mempty: [OK, passed 1 tests]
    j_IsString: [OK, passed 100 tests]
  basics:
    s_cons: [OK, passed 100 tests]
    s_cons_s: [OK, passed 100 tests]
    sf_cons: [OK, passed 100 tests]
    j_cons: [OK, passed 100 tests]
    s_snoc: [OK, passed 100 tests]
    j_snoc: [OK, passed 100 tests]
    s_append: [OK, passed 100 tests]
    s_append_s: [OK, passed 100 tests]
    sf_append: [OK, passed 100 tests]
    j_append: [OK, passed 100 tests]
    s_uncons: [OK, passed 100 tests]
    sf_uncons: [OK, passed 100 tests]
    j_uncons: [OK, passed 100 tests]
    s_head: [OK, passed 100 tests]
    sf_head: [OK, passed 100 tests]
    j_head: [OK, passed 100 tests]
    s_last: [OK, passed 100 tests]
    sf_last: [OK, passed 100 tests]
    j_last: [OK, passed 100 tests]
    s_tail: [OK, passed 100 tests]
    s_tail_s: [OK, passed 100 tests]
    sf_tail: [OK, passed 100 tests]
    j_tail: [OK, passed 100 tests]
    s_init: [OK, passed 100 tests]
    s_init_s: [OK, passed 100 tests]
    sf_init: [OK, passed 100 tests]
    j_init: [OK, passed 100 tests]
    s_null: [OK, passed 100 tests]
    sf_null: [OK, passed 100 tests]
    j_null: [OK, passed 100 tests]
    s_length: [OK, passed 100 tests]
    sf_length: [OK, passed 100 tests]
    j_length: [OK, passed 100 tests]
    j_compareLength: [OK, passed 100 tests]
  transformations:
    s_map: [OK, passed 100 tests]
    s_map_s: [OK, passed 100 tests]
    sf_map: [OK, passed 100 tests]
    j_map: [OK, passed 100 tests]
    s_intercalate: [OK, passed 100 tests]
    j_intercalate: [OK, passed 100 tests]
    s_intersperse: [OK, passed 100 tests]
    s_intersperse_s: [OK, passed 100 tests]
    sf_intersperse: [OK, passed 100 tests]
    j_intersperse: [OK, passed 100 tests]
    j_transpose: [OK, passed 100 tests]
    j_reverse: [OK, passed 100 tests]
    j_replace: [OK, passed 100 tests]
    case conversion:
      s_toCaseFold_length: [OK, passed 100 tests]
      sf_toCaseFold_length: [OK, passed 100 tests]
      j_toCaseFold_length: [OK, passed 100 tests]
      j_toLower_length: [OK, passed 100 tests]
      j_toLower_lower: [OK, passed 100 tests]
      j_toUpper_length: [OK, passed 100 tests]
      j_toUpper_upper: [OK, passed 100 tests]
    justification:
      s_justifyLeft: [OK, passed 100 tests]
      s_justifyLeft_s: [OK, passed 100 tests]
      sf_justifyLeft: [OK, passed 100 tests]
      j_justifyLeft: [OK, passed 100 tests]
      j_justifyRight: [OK, passed 100 tests]
      j_center: [OK, passed 100 tests]
  folds:
    sf_foldl: [OK, passed 100 tests]
    j_foldl: [OK, passed 100 tests]
    sf_foldl': [OK, passed 100 tests]
    j_foldl': [OK, passed 100 tests]
    sf_foldl1: [OK, passed 100 tests]
    j_foldl1: [OK, passed 100 tests]
    j_foldl1': [OK, passed 100 tests]
    sf_foldl1': [OK, passed 100 tests]
    sf_foldr: [OK, passed 100 tests]
    j_foldr: [OK, passed 100 tests]
    sf_foldr1: [OK, passed 100 tests]
    j_foldr1: [OK, passed 100 tests]
    special:
      s_concat_s: [OK, passed 100 tests]
      sf_concat: [OK, passed 100 tests]
      j_concat: [OK, passed 100 tests]
      sf_concatMap: [OK, passed 100 tests]
      j_concatMap: [OK, passed 100 tests]
      sf_any: [OK, passed 100 tests]
      j_any: [OK, passed 100 tests]
      sf_all: [OK, passed 100 tests]
      j_all: [OK, passed 100 tests]
      sf_maximum: [OK, passed 100 tests]
      j_maximum: [OK, passed 100 tests]
      sf_minimum: [OK, passed 100 tests]
      j_minimum: [OK, passed 100 tests]
  construction:
    scans:
      sf_scanl: [OK, passed 100 tests]
      j_scanl: [OK, passed 100 tests]
      j_scanl1: [OK, passed 100 tests]
      j_scanr: [OK, passed 100 tests]
      j_scanr1: [OK, passed 100 tests]
    mapAccum:
      j_mapAccumL: [OK, passed 100 tests]
      j_mapAccumR: [OK, passed 100 tests]
    unfolds:
      s_replicate: [OK, passed 100 tests]
      j_replicate: [OK, passed 100 tests]
      j_unfoldr: [OK, passed 100 tests]
      j_unfoldrN: [OK, passed 100 tests]
  substrings:
    breaking:
      s_take: [OK, passed 100 tests]
      s_take_s: [OK, passed 100 tests]
      sf_take: [OK, passed 100 tests]
      j_take: [OK, passed 100 tests]
      j_takeEnd: [Failed]
*** Failed! Falsified (after 24 tests and 12 shrinks):
2
"a\990150"
0
(used seed -410144337)
      s_drop: [OK, passed 100 tests]
      s_drop_s: [OK, passed 100 tests]
      sf_drop: [OK, passed 100 tests]
      j_drop: [OK, passed 100 tests]
      j_dropEnd: [Failed]
*** Failed! Falsified (after 32 tests and 22 shrinks):
3
"aaaaaaaaaaaaaaaaaaaaa\170630a"
112
(used seed 2034441524)
      s_take_drop: [OK, passed 100 tests]
      s_take_drop_s: [OK, passed 100 tests]
      s_takeWhile: [OK, passed 100 tests]
      s_takeWhile_s: [OK, passed 100 tests]
      sf_takeWhile: [OK, passed 100 tests]
      j_takeWhile: [OK, passed 100 tests]
      sf_dropWhile: [OK, passed 100 tests]
      s_dropWhile: [OK, passed 100 tests]
      s_dropWhile_s: [OK, passed 100 tests]
      j_dropWhile: [OK, passed 100 tests]
      j_dropWhileEnd: [OK, passed 100 tests]
      j_dropAround: [OK, passed 100 tests]
      j_stripStart: [OK, passed 100 tests]
      j_stripEnd: [OK, passed 100 tests]
      j_strip: [OK, passed 100 tests]
      j_splitAt: [OK, passed 100 tests]
      j_span: [OK, passed 100 tests]
      j_breakOn_id: [OK, passed 100 tests]
      j_breakOn_start: [OK, passed 100 tests]
      j_breakOnEnd_end: [OK, passed 100 tests]
      j_break: [OK, passed 100 tests]
      j_group: [OK, passed 100 tests]
      j_groupBy: [OK, passed 100 tests]
      j_inits: [OK, passed 100 tests]
      j_tails: [OK, passed 100 tests]
    breaking many:
      j_findAppendId: [OK, passed 100 tests]
      j_findContains: [OK, passed 100 tests]
      j_findContains': [OK, passed 100 tests]
      j_findCount: [OK, passed 100 tests]
      j_findCount': [OK, passed 100 tests]
      j_splitOn_split: [OK, passed 100 tests]
      j_splitOn'_split: [OK, passed 100 tests]
      j_splitOn_i: [OK, passed 100 tests]
      j_splitOn'_i: [OK, passed 100 tests]
      j_split: [OK, passed 100 tests]
      j_split_count: [OK, passed 100 tests]
      j_split_splitOn: [OK, passed 100 tests]
      j_split_splitOn': [OK, passed 100 tests]
      j_chunksOf_same_lengths: [OK, passed 100 tests]
      j_chunksOf_same_lengths': [OK, passed 100 tests]
      j_chunksOf_length: [OK, passed 100 tests]
      j_chunksOf_length': [OK, passed 100 tests]
    lines and words:
      j_lines: [OK, passed 100 tests]
      j_lines': [OK, passed 100 tests]
      j_words: [OK, passed 100 tests]
      j_words': [OK, passed 100 tests]
      j_unlines: [OK, passed 100 tests]
      j_unwords: [OK, passed 100 tests]
  predicates:
    s_isPrefixOf: [OK, passed 100 tests]
    sf_isPrefixOf: [OK, passed 100 tests]
    j_isPrefixOf: [OK, passed 100 tests]
    j_isSuffixOf: [OK, passed 100 tests]
    j_isInfixOf: [OK, passed 100 tests]
    view:
      j_stripPrefix: [OK, passed 100 tests]
      j_stripSuffix: [OK, passed 100 tests]
      j_commonPrefixes: [OK, passed 100 tests]
  searching:
    sf_elem: [OK, passed 100 tests]
    sf_filter: [OK, passed 100 tests]
    j_filter: [OK, passed 100 tests]
    sf_findBy: [OK, passed 100 tests]
    j_find: [OK, passed 100 tests]
    j_partition: [OK, passed 100 tests]
  indexing:
    sf_index: [OK, passed 100 tests]
    j_index: [OK, passed 100 tests]
    j_findIndex: [OK, passed 100 tests]
    j_count: [OK, passed 100 tests]
    j_indices: [OK, passed 100 tests]
    j_indices_occurs: [Failed]
*** Failed! Falsified (after 4 tests and 3 shrinks):
"\1059422\ACK"
["","",""]
(used seed 1987548744)
  zips:
    j_zip: [OK, passed 100 tests]
    sf_zipWith: [OK, passed 100 tests]
    j_zipWith: [OK, passed 100 tests]
  numeric conversion:
    integral:
      j_decimal_integer: [OK, passed 100 tests]
      j_decimal_int: [OK, passed 100 tests]
      j_decimal_int8: [OK, passed 100 tests]
      j_decimal_int16: [OK, passed 100 tests]
      j_decimal_int32: [OK, passed 100 tests]
      j_decimal_int64: [OK, passed 100 tests]
      j_decimal_word: [OK, passed 100 tests]
      j_decimal_word8: [OK, passed 100 tests]
      j_decimal_word16: [OK, passed 100 tests]
      j_decimal_word32: [OK, passed 100 tests]
      j_decimal_word64: [OK, passed 100 tests]
      j_decimal_integer_big: [OK, passed 100 tests]
      j_decimal_int_big: [OK, passed 100 tests]
      j_decimal_int64_big: [OK, passed 100 tests]
      j_decimal_word_big: [OK, passed 100 tests]
      j_decimal_word64_big: [OK, passed 100 tests]
      j_hexadecimal_integer: [Failed]
*** Failed! Falsified (after 14 tests and 1 shrink):
10
(used seed -605132354)
      j_hexadecimal_int: [OK, passed 100 tests]
      j_hexadecimal_int8: [OK, passed 100 tests]
      j_hexadecimal_int16: [OK, passed 100 tests]
      j_hexadecimal_int32: [OK, passed 100 tests]
      j_hexadecimal_int64: [OK, passed 100 tests]
      j_hexadecimal_word: [OK, passed 100 tests]
      j_hexadecimal_word8: [OK, passed 100 tests]
      j_hexadecimal_word16: [OK, passed 100 tests]
      j_hexadecimal_word32: [OK, passed 100 tests]
      j_hexadecimal_word64: [OK, passed 100 tests]
  regressions:
    s_filter_eq: [OK, passed 100 tests]
Marshal:
  Bool:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]
  Int:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]
  Int8:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]
  Int16:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]
  Int32:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]
  Word:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]
  Word8:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]
  Word16:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]
  Word32:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]
  Float:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]
  Double:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]
  [Char]:
    pure_to_from_jsval: [Failed]
*** Failed! Falsified (after 4 tests and 1 shrink):
"\1090463"
(used seed -1905961338)
    pure_to_from_jsval_maybe: [Failed]
*** Failed! Falsified (after 6 tests and 3 shrinks):
Just "\168888"
(used seed -844325235)
    to_from_jsval: [Failed]
*** Failed! Falsified (after 8 tests and 3 shrinks):
"\1015432"
(used seed -705416875)
    to_from_jsval_maybe: [Failed]
*** Failed! Falsified (after 5 tests and 2 shrinks):
Just "\991576"
(used seed -1169491992)
    to_from_jsval_list: [Failed]
*** Failed! Falsified (after 5 tests and 2 shrinks):
["\181776"]
(used seed -1132648083)
    to_from_jsval_list_maybe: [Failed]
*** Failed! Falsified (after 5 tests and 3 shrinks):
[Just "\1082386"]
(used seed -1522468504)
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [Failed]
*** Failed! Falsified (after 4 tests and 2 shrinks):
Just ["\70389"]
(used seed -561521763)
  Text:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]
  JSString:
    pure_to_from_jsval: [OK, passed 100 tests]
    pure_to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval: [OK, passed 100 tests]
    to_from_jsval_maybe: [OK, passed 100 tests]
    to_from_jsval_list: [OK, passed 100 tests]
    to_from_jsval_list_maybe: [OK, passed 100 tests]
    to_from_jsval_list_list: [OK, passed 1 tests]
    to_from_jsval_maybe_list: [OK, passed 100 tests]

         Properties    Test Cases  Total        
 Passed  324           5           329          
 Failed  12            0           12           
 Total   336           5           341          
Test suite tests: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant