Commit 33836f6
committed
Assertive enhancements
This brings a set of enhancements to assertive:
- function name simplifications
- generics-ifying of some functions that can be used on comparables
- additional methods (Match, DoesNotMatch)
- debugging output is made clear, along with OCS8 link and excerpt of the test file
- all methods can now elect to Fail later instead of FailNow
- Check method is removed (^ because of above)
- all methods can now elect to silence output on success
Other Tigron files are updated to adopt these changes:
- method names update
- comparators move away from Check and now fully leverages assertive
This also adds a large number of tests for assertive, leveraging mimicry.
Signed-off-by: apostasie <[email protected]>1 parent e3a4c70 commit 33836f6
File tree
6 files changed
+417
-159
lines changed- mod/tigron
- expect
- internal
- assertive
- com
- test
6 files changed
+417
-159
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | | - | |
21 | | - | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
| |||
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
42 | | - | |
43 | | - | |
| 40 | + | |
| 41 | + | |
44 | 42 | | |
45 | | - | |
46 | 43 | | |
47 | 44 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 45 | + | |
51 | 46 | | |
52 | 47 | | |
53 | 48 | | |
54 | | - | |
55 | | - | |
| 49 | + | |
56 | 50 | | |
57 | | - | |
58 | 51 | | |
59 | 52 | | |
60 | | - | |
61 | | - | |
| 53 | + | |
62 | 54 | | |
63 | 55 | | |
64 | 56 | | |
65 | 57 | | |
66 | 58 | | |
67 | | - | |
68 | 59 | | |
69 | 60 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 61 | + | |
79 | 62 | | |
80 | 63 | | |
81 | 64 | | |
82 | 65 | | |
83 | | - | |
84 | 66 | | |
85 | | - | |
86 | 67 | | |
87 | 68 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 69 | + | |
94 | 70 | | |
95 | 71 | | |
0 commit comments