Skip to content
GitHub Actions / Test results failed Jul 11, 2024 in 1s

Test results ❌

Tests failed

Report Passed Failed Skipped Time
dhall-codec/target/test-reports/TEST-io.chymyst.dhall.unit.FromDhallTest.xml 23βœ… 253ms
dhall-codec/target/test-reports/TEST-io.chymyst.dhall.unit.FromScalaTest.xml 4βœ… 67ms
dhall-codec/target/test-reports/TEST-io.chymyst.dhall.unit.ReadmeTest.xml 4βœ… 280ms
dhall-codec/target/test-reports/TEST-io.chymyst.dhall.unit.ToScalaTest.xml 1βœ… 318ms
fastparse-memoize/target/test-reports/TEST-io.chymyst.fastparse.unit.MemoizeTest.xml 1βœ… 3s
scall-cli/target/test-reports/TEST-io.chymyst.dhall.unit.MainSpec.xml 15βœ… 4s
scall-cli/target/test-reports/TEST-io.chymyst.dhall.unit.PerfTest.xml 2βœ… 2❌ 7s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DhallImportResolutionSuite.xml 2βœ… 5s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DhallParserAndCbor1Suite.xml 5βœ… 1s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DhallParserAndCbor2Suite.xml 7βœ… 1s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DhallSemanticHashSuite.xml 1βœ… 2s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DhallSemanticsSuite.xml 2βœ… 1s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DhallTypeCheckingSuite.xml 2βœ… 274s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DoNotationTest.xml 3βœ… 2❌ 203ms
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.JsonTest.xml 1βœ… 1ms
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.MiscBugsTest.xml 9βœ… 128ms
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.ParserStressTest.xml 4βœ… 3s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.ParserTest.xml 31βœ… 70ms
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.ParserTest2.xml 11βœ… 37ms
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.PrettyPrintingTest.xml 2βœ… 26ms
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleCBORperformanceTest.xml 4βœ… 16s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleCBORtest.xml 13βœ… 14ms
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleExpressionTest.xml 27βœ… 2❌ 129ms
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleImportResolutionTest.xml 9βœ… 96s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimplePreludeTest.xml 7βœ… 12s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleSemanticsTest.xml 42βœ… 6s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleTypecheckTest.xml 13βœ… 19ms
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.StressTest.xml 12βœ… 51s
scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.YamlTest.xml 6βœ… 29ms
scall-macros/target/test-reports/TEST-io.chymyst.dhall.macros.unit.MacrosTest.xml 1βœ… 235ms
scall-testutils/target/test-reports/TEST-io.chymyst.test.unit.OverrideEnvironmentTest.xml 5βœ… 63ms
scall-testutils/target/test-reports/TEST-io.chymyst.test.unit.ResourceFilesTest.xml 3βœ… 863ms
scall-testutils/target/test-reports/TEST-io.chymyst.test.unit.ThrowablesTest.xml 1βœ… 156ms

βœ…Β dhall-codec/target/test-reports/TEST-io.chymyst.dhall.unit.FromDhallTest.xml

23 tests were completed in 253ms with 23 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.FromDhallTest 23βœ… 253ms

βœ…Β io.chymyst.dhall.unit.FromDhallTest

βœ… convert DoubleLiteral to Scala
βœ… convert other literals to Scala
βœ… convert kinds to DhallKinds
βœ… convert type names to Scala type tags
βœ… convert type constructors to Scala type tags
βœ… convert built-in functions to Scala functions
βœ… fail to convert imports and alternatives
βœ… make sure we typecheck when doing .asScala
βœ… convert arithmetic
βœ… lists
βœ… Optional
βœ… convert record literals to Scala
βœ… fail on ill-typed Dhall expressions
βœ… fail on non-closed Dhall expressions
βœ… fail on invalid function types
βœ… convert functions to Scala functions 1
βœ… convert functions to Scala functions 2
βœ… convert functions to Scala functions 3
βœ… todo: convert generic functions to Scala generic functions
βœ… field access for records 1
βœ… field access for records 2
βœ… field access for records 3
βœ… built-in functions with type parameters

βœ…Β dhall-codec/target/test-reports/TEST-io.chymyst.dhall.unit.FromScalaTest.xml

4 tests were completed in 67ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.FromScalaTest 4βœ… 67ms

βœ…Β io.chymyst.dhall.unit.FromScalaTest

βœ… convert Scala Double type to Dhall
βœ… convert Scala case class
βœ… convert Scala types that are not supported
βœ… convert Scala type constructors that are not supported

βœ…Β dhall-codec/target/test-reports/TEST-io.chymyst.dhall.unit.ReadmeTest.xml

4 tests were completed in 280ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.ReadmeTest 4βœ… 280ms

βœ…Β io.chymyst.dhall.unit.ReadmeTest

βœ… simple examples from readme
βœ… factorial example from readme
βœ… ill-typed example from readme
βœ… Scala factorial example from readme

βœ…Β dhall-codec/target/test-reports/TEST-io.chymyst.dhall.unit.ToScalaTest.xml

1 tests were completed in 318ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.ToScalaTest 1βœ… 318ms

βœ…Β io.chymyst.dhall.unit.ToScalaTest

βœ… convert simple Dhall expressions to Scala source code

βœ…Β fastparse-memoize/target/test-reports/TEST-io.chymyst.fastparse.unit.MemoizeTest.xml

1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.fastparse.unit.MemoizeTest 1βœ… 3s

βœ…Β io.chymyst.fastparse.unit.MemoizeTest

βœ… slow grammar becomes faster after memoization

βœ…Β scall-cli/target/test-reports/TEST-io.chymyst.dhall.unit.MainSpec.xml

15 tests were completed in 4s with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.MainSpec 15βœ… 4s

βœ…Β io.chymyst.dhall.unit.MainSpec

βœ… run the Main.process function
βœ… Main.process with parse failure
βœ… Main.process with evaluation failure
βœ… obtain type
βœ… obtain hash 1
βœ… obtain hash 2
βœ… encode / decode roundtrip
βœ… export text
βœ… fail to export text if Dhall expression is not text
βœ… yaml output for literals
βœ… fail to export yaml if Dhall expression contains unsupported types
βœ… json main test cases
βœ… yaml main test cases
βœ… yaml corner cases from dhall-haskell/yaml
βœ… parse command-line argument

❌ scall-cli/target/test-reports/TEST-io.chymyst.dhall.unit.PerfTest.xml

4 tests were completed in 7s with 2 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.PerfTest 2βœ… 2❌ 7s

❌ io.chymyst.dhall.unit.PerfTest

βœ… create yaml from realistic example 1
βœ… parse schema.dhall 20 times
❌ parse Prelude/JSON/renderAs.dhall
	sbt.ForkMain$ForkError: java.util.NoSuchElementException: None.get
❌ parse largeExpressionA.dhall
	sbt.ForkMain$ForkError: java.util.NoSuchElementException: None.get

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DhallImportResolutionSuite.xml

2 tests were completed in 5s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.DhallImportResolutionSuite 2βœ… 5s

βœ…Β io.chymyst.dhall.unit.DhallImportResolutionSuite

βœ… import resolution success
βœ… import resolution failure

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DhallParserAndCbor1Suite.xml

5 tests were completed in 1s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.DhallParserAndCbor1Suite 5βœ… 1s

βœ…Β io.chymyst.dhall.unit.DhallParserAndCbor1Suite

βœ… convert standard examples for successful parsing into CBOR
βœ… validate CBOR writing for standard examples
βœ… validate CBOR reading for standard examples
βœ… validate binary decoding/success
βœ… validate binary decoding/failure

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DhallParserAndCbor2Suite.xml

7 tests were completed in 1s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.DhallParserAndCbor2Suite 7βœ… 1s

βœ…Β io.chymyst.dhall.unit.DhallParserAndCbor2Suite

βœ… parse standard examples for successful parsing
βœ… parse standard examples for failed parsing
βœ… convert standard examples for successful parsing into CBOR
βœ… validate CBOR writing for standard examples
βœ… validate CBOR reading for standard examples
βœ… validate binary decoding/success
βœ… validate binary decoding/failure

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DhallSemanticHashSuite.xml

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.DhallSemanticHashSuite 1βœ… 2s

βœ…Β io.chymyst.dhall.unit.DhallSemanticHashSuite

βœ… dhall standard acceptance tests for semantic hash

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DhallSemanticsSuite.xml

2 tests were completed in 1s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.DhallSemanticsSuite 2βœ… 1s

βœ…Β io.chymyst.dhall.unit.DhallSemanticsSuite

βœ… alpha normalization success
βœ… beta normalization success

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DhallTypeCheckingSuite.xml

2 tests were completed in 274s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.DhallTypeCheckingSuite 2βœ… 274s

βœ…Β io.chymyst.dhall.unit.DhallTypeCheckingSuite

βœ… type inference success
βœ… type inference failure

❌ scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DoNotationTest.xml

5 tests were completed in 203ms with 3 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.DoNotationTest 3βœ… 2❌ 203ms

❌ io.chymyst.dhall.unit.DoNotationTest

βœ… do notation
βœ… do notation having no `with` lines
βœ… parse do notation correctly
❌ parse do notation and detect error 1
	sbt.ForkMain$ForkError: java.lang.AssertionError: assertion failed
❌ parse do notation and detect error 2
	sbt.ForkMain$ForkError: java.lang.AssertionError: assertion failed

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.JsonTest.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.JsonTest 1βœ… 1ms

βœ…Β io.chymyst.dhall.unit.JsonTest

βœ… yaml output for record of lists with indent

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.MiscBugsTest.xml

9 tests were completed in 128ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.MiscBugsTest 9βœ… 128ms

βœ…Β io.chymyst.dhall.unit.MiscBugsTest

βœ… time literals with nanos
βœ… time literals with truncated nanos
βœ… cbor encoding for time literals with long fraction using cbor1
βœ… cbor encoding for time literals with long fraction using cbor2
βœ… cbor encoding for time literals of varying precision for 00:00:00.000000000000
βœ… cbor encoding for time literals of varying precision for 00:00:01.000000000000
βœ… type inference must use correct de Bruijn index, no imports
βœ… type inference must use correct de Bruijn index, use imports
βœ… failure in Mode/equal.dhall

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.ParserStressTest.xml

4 tests were completed in 3s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.ParserStressTest 4βœ… 3s

βœ…Β io.chymyst.dhall.unit.ParserStressTest

βœ… tracing the parse of deeply nested parentheses
βœ… simple grammar with no exponential slowness
βœ… simple grammar with exponential slowness
βœ… simple grammar with exponential slowness and manual memoization

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.ParserTest.xml

31 tests were completed in 70ms with 31 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.ParserTest 31βœ… 70ms

βœ…Β io.chymyst.dhall.unit.ParserTest

βœ… quoted_label_char
βœ… requireKeyword
βœ… end_of_line
βœ… valid_non_ascii
βœ… valid_non_ascii with large Unicode values from UTF-16 surrogates
βœ… valid_non_ascii with large Unicode values from file
βœ… tab
βœ… block_comment
βœ… whsp
βœ… comment fails when not closed
βœ… comment fails when incomplete
βœ… whitespace_chunk
βœ… whsp1
βœ… keyword
βœ… simple_label
βœ… builtin names
βœ… constant names
βœ… parse Location as a field name
βœ… numeric_double_literal
βœ… natural_literal
βœ… integer_literal
βœ… identifier
βœ… identifier with backquotes
βœ… variable with backquotes
βœ… nonreserved_label with backquotes
βœ… label with backquotes
βœ… identifier special cases
βœ… bytes_literal
βœ… primitive_expression
βœ… selector_expression
βœ… completion_expression

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.ParserTest2.xml

11 tests were completed in 37ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.ParserTest2 11βœ… 37ms

βœ…Β io.chymyst.dhall.unit.ParserTest2

βœ… import_only
βœ… import_hashed
βœ… import_expression
βœ… plus_expression
βœ… primitive_expression
βœ… let_binding
βœ… expression_let_binding
βœ… interpolation
βœ… double-quoted text with interpolations
βœ… single-quoted multiline text with interpolations
βœ… text_literal

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.PrettyPrintingTest.xml

2 tests were completed in 26ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.PrettyPrintingTest 2βœ… 26ms

βœ…Β io.chymyst.dhall.unit.PrettyPrintingTest

βœ… print Dhall expressions
βœ… print assert expressions

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleCBORperformanceTest.xml

4 tests were completed in 16s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.SimpleCBORperformanceTest 4βœ… 16s

βœ…Β io.chymyst.dhall.unit.SimpleCBORperformanceTest

βœ… produce an expression with a large normal form
βœ… beta-normalizing performance
βœ… no more stack overflow in Scala MurmurHash3 or hashCode()
βœ… stack overflow in Scala MurmurHash3

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleCBORtest.xml

13 tests were completed in 14ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.SimpleCBORtest 13βœ… 14ms

βœ…Β io.chymyst.dhall.unit.SimpleCBORtest

βœ… CBOR roundtrips 1
βœ… CBOR roundtrips 2
βœ… CBOR roundtrips 2a
βœ… CBOR roundtrips for half-precision floats
βœ… CBOR roundtrips for half-precision double
βœ… CBOR roundtrips 3
βœ… CBOR roundtrips 4
βœ… CBOR roundtrips 5
βœ… CBOR roundtrips 6
βœ… CBOR for dictionaries
βœ… CBOR for tagged array
βœ… CBOR for strings containing newlines
βœ… CBOR1 for strings containing newlines

❌ scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleExpressionTest.xml

29 tests were completed in 129ms with 27 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.SimpleExpressionTest 27βœ… 2❌ 129ms

❌ io.chymyst.dhall.unit.SimpleExpressionTest

βœ… simple invalid expression: 1+1
βœ… simple expression: { foo, bar }
❌ simple expression: x
	sbt.ForkMain$ForkError: java.lang.AssertionError: assertion failed
❌ simple expression: let x = 1 in x with hand-written grammar
	sbt.ForkMain$ForkError: java.lang.AssertionError: assertion failed
βœ… simple expression: let x = 1 in y
βœ… simple expression: (x)
βœ… parse a string interpolation
βœ… parse a sample file
βœ… expression and a block comment
βœ… expression and a line comment
βœ… expression followed by comment
βœ… parse assert : x
βœ… parse x === y
βœ… parse assert : x === y
βœ… simple_label
βœ… empty record literal
βœ… variables or missing import ambiguity 1
βœ… variables or missing import ambiguity 2
βœ… variables or missing import ambiguity 3
βœ… variable name missing//foo, conflict with import declaration
βœ… invalid utf-8
βœ… quoted multiline string ends with newline
βœ… empty url path
βœ… posix env var names
βœ… leading delimiter in union type
βœ… records have sorted fields in CBOR
βœ… application to an import
βœ… import with a long file path
βœ… do notation

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleImportResolutionTest.xml

9 tests were completed in 96s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.SimpleImportResolutionTest 9βœ… 96s

βœ…Β io.chymyst.dhall.unit.SimpleImportResolutionTest

βœ… environment presets are parsed correctly for testing
βœ… import chaining must compute correct paths
βœ… no loops in importing
βœ… alpha-normalize and beta-normalize imported file
βœ… exponential blowup in normal form
βœ… import alternatives inside expressions
βœ… import . or .. or other invalid imports should fail
βœ… do not recover from sha mismatch
βœ… correct sha256 check

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimplePreludeTest.xml

7 tests were completed in 12s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.SimplePreludeTest 7βœ… 12s

βœ…Β io.chymyst.dhall.unit.SimplePreludeTest

βœ… read List/partition.dhall and beta-normalize it alone
βœ… typecheck List/partition.dhall imports
βœ… read Natural/sort.dhall and beta-normalize it alone
βœ… typecheck Natural/sort.dhall imports
βœ… import dhall-lang/Prelude/Natural/package.dhall without hanging
βœ… import dhall-lang/Prelude/package.dhall without hanging
βœ… resolve imports (but do not typecheck) each file from the standard prelude except two package.dhall files

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleSemanticsTest.xml

42 tests were completed in 6s with 42 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.SimpleSemanticsTest 42βœ… 6s

βœ…Β io.chymyst.dhall.unit.SimpleSemanticsTest

βœ… substitute in a variable
βœ… substitute in a lambda
βœ… alpha-normalize a nested lambda
βœ… alpha-normalize record access
βœ… correct precedence for imports with fallback
βœ… alpha-normalization and beta-normalization should refuse imports
βœ… beta-normalize with unique subexpressions
βœ… shortcut in Natural/fold if the result no longer changes
βœ… shortcut in Natural/fold if the result no longer changes, with symbolic lambda
βœ… shortcut in Natural/fold with a function 1
βœ… shortcut in Natural/fold with a function 2
βœ… avoid expanding Natural/fold when the result grows as a symbolic expression
βœ… compute expression count
βœ… foldWhile performance test with bitLength
βœ… safe division using dependent types
βœ… safe division using assert
βœ… beta-normalization with Natural/fold and shortcut
βœ… beta-normalization for appended lists
βœ… Text/replace various cases
βœ… invalid field name is an error 1
βœ… invalid field name is an error 2
βœ… invalid field name is an error 3
βœ… invalid field name is an error 4
βœ… record types field access
βœ… no support for kind-polymorphic functions
βœ… a function is equivalent to its eta expansion
βœ… eta expansion with two curried arguments
βœ… assert with eta expansion with two curried arguments
βœ… failure in eta expansion with two curried arguments
βœ… eta expansion with free occurrences of external bound variable
βœ… failure 1 with f x in eta expansion with free occurrences of external bound variable
βœ… failure 2 with f x in eta expansion with free occurrences of external bound variable
βœ… eta-reduction works regardless of types
βœ… identity law of function composition
βœ… associativity rewrite 1
βœ… associativity rewrite 2
βœ… associativity law of monoids
βœ… equivalence for Double literals
βœ… `with` for Optional works if it does not change type
βœ… fail `with` for Optional if it changes type
βœ… `with` for Optional works if it does not change type, with deep record access
βœ… fail `with` for Optional if it changes type, with deep record access

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleTypecheckTest.xml

13 tests were completed in 19ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.SimpleTypecheckTest 13βœ… 19ms

βœ…Β io.chymyst.dhall.unit.SimpleTypecheckTest

βœ… typecheck record of types
βœ… shift in type variable
βœ… shift in type variable without pun
βœ… shift in type variable with index 1 without generics
βœ… shift in type variable with index 1 without pun
βœ… shift in type variable with index 1 with pun
βœ… shift in type variable with union constructor
βœ… shift in type variable with union constructor and pun
βœ… simplify equivalence type
βœ… type inference failure with RecordSelectionNotRecord.dhall
βœ… empty selection from record types or record values
βœ… empty selection is not allowed when the base is not a record type literal
βœ… do not alpha-normalize when inferring type

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.StressTest.xml

12 tests were completed in 51s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.StressTest 12βœ… 51s

βœ…Β io.chymyst.dhall.unit.StressTest

βœ… print long expressions without stack overflow, without parentheses
βœ… print long expressions without stack overflow, with parentheses
βœ… print long expressions without stack overflow, right-associated with parentheses
βœ… print with the new tail-recursive function print1
βœ… print1 long expressions without stack overflow, without parentheses
βœ… deeply nested lists
βœ… deeply nested parentheses
βœ… deeply nested records
βœ… deeply nested record types
βœ… deeply nested applications
βœ… deeply nested applications under lambda
βœ… deeply nested lambdas

βœ…Β scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.YamlTest.xml

6 tests were completed in 29ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.unit.YamlTest 6βœ… 29ms

βœ…Β io.chymyst.dhall.unit.YamlTest

βœ… yaml output for comment headers 1
βœ… yaml output for comment headers 2
βœ… yaml output for comment headers 3
βœ… yaml output for record of lists with indent 4
βœ… yaml output for strings with special characters
βœ… json output with longer indentation

βœ…Β scall-macros/target/test-reports/TEST-io.chymyst.dhall.macros.unit.MacrosTest.xml

1 tests were completed in 235ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.dhall.macros.unit.MacrosTest 1βœ… 235ms

βœ…Β io.chymyst.dhall.macros.unit.MacrosTest

βœ… determine subclasses of a sealed trait

βœ…Β scall-testutils/target/test-reports/TEST-io.chymyst.test.unit.OverrideEnvironmentTest.xml

5 tests were completed in 63ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.test.unit.OverrideEnvironmentTest 5βœ… 63ms

βœ…Β io.chymyst.test.unit.OverrideEnvironmentTest

βœ… example in the code
βœ… fake environment variables can be added
βœ… exceptions are passed through but fake variables are still removed
βœ… fake environment variables can be removed
βœ… fake environment variables can be nested, added, and removed

βœ…Β scall-testutils/target/test-reports/TEST-io.chymyst.test.unit.ResourceFilesTest.xml

3 tests were completed in 863ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.test.unit.ResourceFilesTest 3βœ… 863ms

βœ…Β io.chymyst.test.unit.ResourceFilesTest

βœ… get resource as file
βœ… enumerate resource files by pattern
βœ… change current working directory

βœ…Β scall-testutils/target/test-reports/TEST-io.chymyst.test.unit.ThrowablesTest.xml

1 tests were completed in 156ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.chymyst.test.unit.ThrowablesTest 1βœ… 156ms

βœ…Β io.chymyst.test.unit.ThrowablesTest

βœ… print throwables, stack traces, and causes

Annotations

Check failure on line 42 in scall-cli/src/test/scala/io/chymyst/dhall/unit/PerfTest.scala

See this annotation in the file changed.

@github-actions github-actions / Test results

io.chymyst.dhall.unit.PerfTest β–Ί parse Prelude/JSON/renderAs.dhall

Failed test found in:
  scall-cli/target/test-reports/TEST-io.chymyst.dhall.unit.PerfTest.xml
Error:
  sbt.ForkMain$ForkError: java.util.NoSuchElementException: None.get
Raw output
sbt.ForkMain$ForkError: java.util.NoSuchElementException: None.get
	at scala.None$.get(Option.scala:627)
	at scala.None$.get(Option.scala:626)
	at io.chymyst.dhall.unit.PerfTest.$anonfun$new$6(PerfTest.scala:42)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)

Check failure on line 48 in scall-cli/src/test/scala/io/chymyst/dhall/unit/PerfTest.scala

See this annotation in the file changed.

@github-actions github-actions / Test results

io.chymyst.dhall.unit.PerfTest β–Ί parse largeExpressionA.dhall

Failed test found in:
  scall-cli/target/test-reports/TEST-io.chymyst.dhall.unit.PerfTest.xml
Error:
  sbt.ForkMain$ForkError: java.util.NoSuchElementException: None.get
Raw output
sbt.ForkMain$ForkError: java.util.NoSuchElementException: None.get
	at scala.None$.get(Option.scala:627)
	at scala.None$.get(Option.scala:626)
	at io.chymyst.dhall.unit.PerfTest.$anonfun$new$8(PerfTest.scala:48)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)

Check failure on line 110 in scall-core/src/test/scala/io/chymyst/dhall/unit/DoNotationTest.scala

See this annotation in the file changed.

@github-actions github-actions / Test results

io.chymyst.dhall.unit.DoNotationTest β–Ί parse do notation and detect error 1

Failed test found in:
  scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DoNotationTest.xml
Error:
  sbt.ForkMain$ForkError: java.lang.AssertionError: assertion failed
Raw output
sbt.ForkMain$ForkError: java.lang.AssertionError: assertion failed

).failed.get.getMessage contains "Dhall parser error: Expected complete_dhall_file:1:1 / complete_expression:1:1 / expression:1:1 / expression_as_in:1:1 / expression:1:24 / expression_if_then_else:1:24 / requireKeyword:1:35 / \"else\":1:35"
| |      |   |          |
| |      |   |          false
| |      |   `.longMsg` requires the parser to be run with `verboseFailures = true`, or to be called via `.trace().longMsg` or `.trace().longAggregateMsg`
| |      java.lang.Exception: `.longMsg` requires the parser to be run with `verboseFailures = true`, or to be called via `.trace().longMsg` or `.trace().longAggregateMsg`
| Success(java.lang.Exception: `.longMsg` requires the parser to be run with `verboseFailures = true`, or to be called via `.trace().longMsg` or `.trace().longAggregateMsg`)
Failure(java.lang.Exception: `.longMsg` requires the parser to be run with `verboseFailures = true`, or to be called via `.trace().longMsg` or `.trace().longAggregateMsg`)

	at com.eed3si9n.expecty.ExpectyBase$ExpectyListener.expressionRecorded(Expecty.scala:41)
	at com.eed3si9n.expecty.RecorderRuntime.recordExpression(RecorderRuntime.scala:40)
	at io.chymyst.dhall.unit.DoNotationTest.$anonfun$new$4(DoNotationTest.scala:110)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)

Check failure on line 118 in scall-core/src/test/scala/io/chymyst/dhall/unit/DoNotationTest.scala

See this annotation in the file changed.

@github-actions github-actions / Test results

io.chymyst.dhall.unit.DoNotationTest β–Ί parse do notation and detect error 2

Failed test found in:
  scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.DoNotationTest.xml
Error:
  sbt.ForkMain$ForkError: java.lang.AssertionError: assertion failed
Raw output
sbt.ForkMain$ForkError: java.lang.AssertionError: assertion failed

).failed.get.getMessage contains "Dhall parser error: Expected complete_dhall_file:1:1 / complete_expression:1:1 / expression:1:1 / expression_as_in:1:1 / requireKeyword:1:42 / \"then\":1:42"
| |      |   |          |
| |      |   |          false
| |      |   `.longMsg` requires the parser to be run with `verboseFailures = true`, or to be called via `.trace().longMsg` or `.trace().longAggregateMsg`
| |      java.lang.Exception: `.longMsg` requires the parser to be run with `verboseFailures = true`, or to be called via `.trace().longMsg` or `.trace().longAggregateMsg`
| Success(java.lang.Exception: `.longMsg` requires the parser to be run with `verboseFailures = true`, or to be called via `.trace().longMsg` or `.trace().longAggregateMsg`)
Failure(java.lang.Exception: `.longMsg` requires the parser to be run with `verboseFailures = true`, or to be called via `.trace().longMsg` or `.trace().longAggregateMsg`)

	at com.eed3si9n.expecty.ExpectyBase$ExpectyListener.expressionRecorded(Expecty.scala:41)
	at com.eed3si9n.expecty.RecorderRuntime.recordExpression(RecorderRuntime.scala:40)
	at io.chymyst.dhall.unit.DoNotationTest.$anonfun$new$6(DoNotationTest.scala:118)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)

Check failure on line 36 in scall-core/src/test/scala/io/chymyst/dhall/unit/SimpleExpressionTest.scala

See this annotation in the file changed.

@github-actions github-actions / Test results

io.chymyst.dhall.unit.SimpleExpressionTest β–Ί simple expression: x

Failed test found in:
  scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleExpressionTest.xml
Error:
  sbt.ForkMain$ForkError: java.lang.AssertionError: assertion failed
Raw output
sbt.ForkMain$ForkError: java.lang.AssertionError: assertion failed

expect(parse("x", Grammar.expression(_)).get.value == v("x"))
       |                            |    |   |     |  |
       |                            |    |   |     |  x
       |                            |    |   |     false
       |                            |    |   { bar = bar, foo = foo }
       |                            |    Parsed.Success({ bar = bar, foo = foo }, 12)
       |                            io.chymyst.dhall.unit.SimpleExpressionTest$$Lambda/0x00007f494b34a408@317959e
       Parsed.Success({ bar = bar, foo = foo }, 12)

	at com.eed3si9n.expecty.ExpectyBase$ExpectyListener.expressionRecorded(Expecty.scala:41)
	at com.eed3si9n.expecty.RecorderRuntime.recordExpression(RecorderRuntime.scala:40)
	at io.chymyst.dhall.unit.SimpleExpressionTest.$anonfun$new$4(SimpleExpressionTest.scala:36)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)

Check failure on line 40 in scall-core/src/test/scala/io/chymyst/dhall/unit/SimpleExpressionTest.scala

See this annotation in the file changed.

@github-actions github-actions / Test results

io.chymyst.dhall.unit.SimpleExpressionTest β–Ί simple expression: let x = 1 in x with hand-written grammar

Failed test found in:
  scall-core/target/test-reports/TEST-io.chymyst.dhall.unit.SimpleExpressionTest.xml
Error:
  sbt.ForkMain$ForkError: java.lang.AssertionError: assertion failed
Raw output
sbt.ForkMain$ForkError: java.lang.AssertionError: assertion failed

expect(parse("1", Grammar.expression(_)).get.value.scheme == NaturalLiteral(1))
       |                            |    |   |     |      |  |
       |                            |    |   |     |      |  NaturalLiteral(1)
       |                            |    |   |     |      false
       |                            |    |   |     RecordLiteral(List((FieldName(bar),bar), (FieldName(foo),foo)))
       |                            |    |   { bar = bar, foo = foo }
       |                            |    Parsed.Success({ bar = bar, foo = foo }, 12)
       |                            io.chymyst.dhall.unit.SimpleExpressionTest$$Lambda/0x00007f494b3603c0@3394e614
       Parsed.Success({ bar = bar, foo = foo }, 12)

	at com.eed3si9n.expecty.ExpectyBase$ExpectyListener.expressionRecorded(Expecty.scala:41)
	at com.eed3si9n.expecty.RecorderRuntime.recordExpression(RecorderRuntime.scala:40)
	at io.chymyst.dhall.unit.SimpleExpressionTest.$anonfun$new$7(SimpleExpressionTest.scala:40)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)