Test results β
β Β 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
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
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
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
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)
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)
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)