Commit d617e4d
committed
test(cuelite): use require for preconditions in TestMkBottom
Round-3 review finding: assert.True used as a precondition before
accessing v.reason/v.path/v.describe() and v2.path. Per CLAUDE.md
"use require for preconditions and assert for checks" — and the
same-package internal_test.go precedent — upgrade to require.True
so a failing isBottomV() stops the test cleanly rather than letting
secondary assertions run against an ill-formed value.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YA8coRomPRZ9u51NjKeeMM1 parent d4e6881 commit d617e4d
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments