bynk.fixture.duplicate
Error A suite declares two fixtures of the same name.
A fixture is a String constant used by its name in the suite, so a suite declares each name once: a second fixture note would leave note meaning two files. Give each fixture its own name. A fixture whose name is a declaration already in scope is bynk.resolve.name_conflict instead.
Example
fixture note = "fixtures/a.txt"fixture note = "fixtures/b.txt" // ✗ `note` is already declared
fixture note = "fixtures/a.txt"fixture other = "fixtures/b.txt" // ✓ one name eachIn the Book
See also
- The grammar rule it governs:
fixture_decl. - Every code in its category, Other, on the diagnostic index.
bynk explain bynk.fixture.duplicateshows the same from the installed toolchain, without a network.