Jeroen Engels
|
f12ad9b7f1
|
Document expectGlobalAndLocalErrors and expectGlobalAndModuleErrors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
58a9974947
|
Document expectGlobalErrors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
e2f9cf74ea
|
Remove outdated requirement for tests
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
d2dae4cf7b
|
Update @docs
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
b28308e02b
|
Document Rule.globalError
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
a8b93bd94d
|
Use left-pizza consistently for Expect.fail
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
48da8cded0
|
Rename removeWhitespace function
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
49025a5855
|
Fail when expected error could not be found
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
adc4ab336e
|
Report error message when details are different
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
253b04187e
|
Add unexpectedGlobalErrorDetails
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
f1f97de257
|
Change error message for unexpectedDetails
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
e50f753d31
|
Report an error when there are too many errors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
ec21dee1da
|
Remove unused temp function
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
5e112638f7
|
Change test breakage
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
279ac055bb
|
Remove handling of global error module name
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
e7972faa3f
|
Show correct failure message
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
111ec4589b
|
Additional branching
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
f64684c02a
|
tmp
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
124748a3cf
|
Fail when there are too many errors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
614f9d8a49
|
Outline happy path
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
bbc4697d9f
|
Duplicate
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
0dd50b51d9
|
break test
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
a963f80e62
|
Remove unused code and outdated documentation
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
46c77253c3
|
Re-use expectGlobalAndModuleErrors & expectGlobalAndModuleErrors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
21ee813aa7
|
Add expectGlobalAndModuleErrors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
686e80735d
|
Add expectGlobalAndLocalErrors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
2eb0d5d9e8
|
Mention did not expect errors when none are expected
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
85cdc6a69f
|
Better error message when there are no expected global errors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
0c5feb427c
|
Start working on expectGlobalErrors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
cb84596b08
|
Handle global errors differently
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
29bea7388e
|
Expect all
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
5daf0f44d4
|
Extract expect no errors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
2aafccea23
|
Split expectErrorsForModules into 2 functions
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
9717bf7774
|
Specify globalErrors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
8f7df17811
|
Extract variable
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
83574766fb
|
Add list of global errors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
984cd7fa25
|
Document expectGlobalErrors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
99f9e24f1d
|
Remove solved TODO
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
f46f3216bb
|
Make a specific error for too many global errors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
791a84410f
|
Remove solved TODO
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
d0fbeb5cf5
|
Fix userglobal
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
cfbe9df416
|
Fail when there is a global error
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
cc17889499
|
Make a specific error for unexpected global errors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
4cb8d74815
|
Change the error message for global errors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
f12bab365e
|
Make globalError target a UserGlobal
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
1789110c4a
|
Use globalerror
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
58844c9546
|
Add TODOs
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
4cfd1228d1
|
Don't include GLOBAL ERROR errors for expectErrors
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
702213320c
|
Rewrite with a nest case expression
|
2021-03-10 17:02:21 +01:00 |
|
Jeroen Engels
|
9ff74101e1
|
Fail test if a global error is missing
|
2021-03-10 17:02:21 +01:00 |
|