diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-15 09:48:15 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-15 09:49:01 -0500 |
| commit | 038889280b48804b1368c18fb82c23622b82d075 (patch) | |
| tree | 146f40701a94b18f180fac612044a877c4fbfad1 /test | |
| parent | 9bae09e3eaf4a0eadd637ab4a7628e45508a0b9c (diff) | |
Trim spaces in test cases and results
Diffstat (limited to 'test')
| -rwxr-xr-x | test/dz_comp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/dz_comp b/test/dz_comp index 1909a150..22bbdef8 100755 --- a/test/dz_comp +++ b/test/dz_comp @@ -28,9 +28,10 @@ exec ← (rt¬nc)◶⟨Native˙, DRun˙, {𝕩⊸DRun}∘GetRT⟩ @ Cases ← (0<≠)◶0‿('#'≠⊑)¨⊸/ · •FLines "cases/"∾∾⟜".bqn" c ← ∾ Cases¨ files +Trim ← ((∨`∧∨`⌾⌽)' '⊸≠)⊸/ M ← {e‿b: Err ← {(@+10)∾˜""""∾b∾""": expected "∾e∾" but received "∾⍕𝕩} (Native e) ≢◶""‿Err Exec b } -r ← (M '%'⊸= (∨´⊣)◶⟨"1"≍○<⊢,(+`-2⊸×)⊸⊔⟩ ⊢)¨ c +r ← (M '%'⊸= (∨´⊣)◶⟨"1"≍○<⊢, Trim¨(+`-2⊸×)⊸⊔⟩ ⊢)¨ c •Out ("All "∾(⍕≠c)∾" passed!")⍟(0=≠) ∾r |
