src/ez/test.bend fails
raw source on the hub · import ezx@1.4.0.0/src/ez/test.bend as Test
ez/test: the test runner. Bend has none, so a test is a */tests/*.bend file
that prints, and states in a #| trailer the lines its run must print. Each
test is its own bend run, since what these drive is git, nix and bend
itself, and each wants its own process, scratch directory and port. A run
disagreeing with its trailer is a failure, and any failure is a non-zero
exit.
Tests are not the proof gate. ez prove is, and nothing here runs a proof.
12 imports
import Base import 0xabe575924687afad4cee1a2c1194d639/main.bend as R import ../io/file.bend as F import ../share/env.bend as Env import ../share/cap.bend as Cap import ./gate.bend as G import ./quiet.bend as Q import ./clock.bend as Clock import ./timer.bend as Timer import ./prove.bend as P import ../ez/ends.bend as E import ../lock/run.bend as Run
The reader could not load this file (at 0x886223f5c47e4983fe57d887c034bc7f/src/ledger/manifest.bend:31). What bend.ts says:
Error:
- expected : a fresh name (duplicate declaration: Tool)
- observed : 'Tool'
Location:
30 | # not be the one.
31>| type Tool is Data:
| ^^^^
32 | Tool{name: String, entry: String, bin: String, source: Source}