Skip to content
Playground(another site)

bynk.suite.duplicate_case_name

Error Two cases share a description.

A case is identified by its description in the runner's output and in failure reports, so each description must be unique across the suites that test one unit. Two cases with the same description cannot be told apart. Rename one; the error is on the repeat, with a label at the first.

Example

tests/ledger.test.bynk
case "an entry" { … }
case "an entry" { … } // ✗ same description
case "another entry" { … } // ✓

In the Book

See also

  • The grammar rule it governs: case.
  • Every code in its category, Suites and cases, on the diagnostic index.
  • bynk explain bynk.suite.duplicate_case_name shows the same from the installed toolchain, without a network.