hustle icon indicating copy to clipboard operation
hustle copied to clipboard

KDL 1.0 test failures

Open fuzzypixelz opened this issue 5 months ago • 0 comments

Commit 1ea8595f1a16a7f859f78cff65342f5738082503 (which points to kdl-org/kdl@a1d85e9) fails cabal test with the following issues:

Failures

  test/Main.hs:34:18:
  1) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/blank_arg_type.kdl
       expected: "node (\"\")10\n"
        but got: "node (\"\")10.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/blank_arg_type.kdl/" --seed 113945638

  test/Main.hs:34:18:
  2) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/false_prefix_in_prop_key.kdl
       expected: "node false_id=1\n"
        but got: "node false_id=1.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/false_prefix_in_prop_key.kdl/" --seed 113945638

  test/Main.hs:34:18:
  3) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/zero_int.kdl
       expected: "node 0\n"
        but got: "node 0.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/zero_int.kdl/" --seed 113945638

  test/Main.hs:34:18:
  4) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/underscore_in_exponent.kdl
       expected: "node 1.0E-100\n"
        but got: "node 1.0e-100\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/underscore_in_exponent.kdl/" --seed 113945638

  test/Main.hs:34:18:
  5) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/arg_zero_type.kdl
       expected: "node (type)0\n"
        but got: "node (type)0.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/arg_zero_type.kdl/" --seed 113945638

  test/Main.hs:34:18:
  6) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/negative_exponent.kdl
       expected: "node 1.0E-10\n"
        but got: "node 1.0e-10\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/negative_exponent.kdl/" --seed 113945638

  test/Main.hs:34:18:
  7) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/null_prefix_in_prop_key.kdl
       expected: "node null_id=1\n"
        but got: "node null_id=1.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/null_prefix_in_prop_key.kdl/" --seed 113945638

  test/Main.hs:34:18:
  8) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/underscore_in_int.kdl
       expected: "node 10\n"
        but got: "node 10.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/underscore_in_int.kdl/" --seed 113945638

  test/Main.hs:34:18:
  9) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/zero_arg.kdl
       expected: "node 0\n"
        but got: "node 0.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/zero_arg.kdl/" --seed 113945638

  test/Main.hs:34:18:
  10) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/sci_notation_large.kdl
       expected: "node prop=1.23E+1000\n"
        but got: "node prop=1.23e1000\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/sci_notation_large.kdl/" --seed 113945638

  test/Main.hs:34:18:
  11) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/sci_notation_small.kdl
       expected: "node prop=1.23E-1000\n"
        but got: "node prop=1.23e-1000\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/sci_notation_small.kdl/" --seed 113945638

  test/Main.hs:34:18:
  12) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/true_prefix_in_prop_key.kdl
       expected: "node true_id=1\n"
        but got: "node true_id=1.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/true_prefix_in_prop_key.kdl/" --seed 113945638

  test/Main.hs:34:18:
  13) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/no_decimal_exponent.kdl
       expected: "node 1E+10\n"
        but got: "node 1.0e10\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/no_decimal_exponent.kdl/" --seed 113945638

  test/Main.hs:34:18:
  14) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/int_multiple_underscore.kdl
       expected: "node 1234\n"
        but got: "node 1234.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/int_multiple_underscore.kdl/" --seed 113945638

  test/Main.hs:34:18:
  15) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/raw_node_name.kdl
       expected: "\"\\\\node\"\n"
        but got: "\"\\node\"\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/raw_node_name.kdl/" --seed 113945638

  test/Main.hs:34:18:
  16) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/negative_int.kdl
       expected: "node -10 prop=-15\n"
        but got: "node -10.0 prop=-15.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/negative_int.kdl/" --seed 113945638

  test/Main.hs:34:18:
  17) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/parse_all_arg_types.kdl
       expected: "node 1 1.0 1.0E+10 1.0E-10 1 7 2 \"arg\" \"arg\\\\\\\\\" true false null\n"
        but got: "node 1.0 1.0 1.0e10 1.0e-10 1 7 2 \"arg\" \"arg\\\\\\\\\" true false null\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/parse_all_arg_types.kdl/" --seed 113945638

  test/Main.hs:34:18:
  18) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/positive_int.kdl
       expected: "node 10\n"
        but got: "node 10.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/positive_int.kdl/" --seed 113945638

  test/Main.hs:34:18:
  19) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/repeated_prop.kdl
       expected: "node prop=11\n"
        but got: "node prop=11.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/repeated_prop.kdl/" --seed 113945638

  test/Main.hs:34:18:
  20) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/all_escapes.kdl
       expected: "node \"\\\"\\\\/\\b\\f\\n\\r\\t\"\n"
        but got: "node \"\\\"\\\\\\/\\b\\f\\n\\r\\t\"\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/all_escapes.kdl/" --seed 113945638

  test/Main.hs:34:18:
  21) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/prop_zero_type.kdl
       expected: "node key=(type)0\n"
        but got: "node key=(type)0.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/prop_zero_type.kdl/" --seed 113945638

  test/Main.hs:34:18:
  22) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/prop_float_type.kdl
       expected: "node key=(type)2.5E+10\n"
        but got: "node key=(type)2.5e10\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/prop_float_type.kdl/" --seed 113945638

  test/Main.hs:34:18:
  23) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/positive_exponent.kdl
       expected: "node 1.0E+10\n"
        but got: "node 1.0e10\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/positive_exponent.kdl/" --seed 113945638

  test/Main.hs:34:18:
  24) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/leading_zero_int.kdl
       expected: "node 11\n"
        but got: "node 11.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/leading_zero_int.kdl/" --seed 113945638

  test/Main.hs:34:18:
  25) should pass the kdl-org provided test cases, KDL.parse, should satisfy kdl/tests/test_cases/input/quoted_arg_type.kdl
       expected: "node (\"type/\")10\n"
        but got: "node (\"type/\")10.0\n"

  To rerun use: --match "/should pass the kdl-org provided test cases/KDL.parse/should satisfy kdl/tests/test_cases/input/quoted_arg_type.kdl/" --seed 113945638

fuzzypixelz avatar Aug 06 '25 22:08 fuzzypixelz