Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no more array insensitive dots as recent 8th update corrects array to… #194

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions exercises/practice/acronym/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/affine-cipher/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/armstrong-numbers/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/atbash-cipher/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/bob/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/collatz-conjecture/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/darts/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/difference-of-squares/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/eliuds-eggs/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/etl/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/flatten-array/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/gigasecond/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
18 changes: 2 additions & 16 deletions exercises/practice/grains/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
1 tests-passed n:+!
con:green con:onBlack . space " ... OK" . con:white con:onBlack cr
;

Comment on lines -22 to -28
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too much deleted for grains.

: test-skipped \ s --
1 tests-skipped n:+!
con:cyan con:onBlack . space " ... SKIPPED" . con:white con:onBlack cr
Expand All @@ -35,8 +21,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/hamming/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
11 changes: 2 additions & 9 deletions exercises/practice/hello-world/libs/exercism/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ true var, run-test

\ Some utility words

: array-insens-dot \ x -- \\ removes leading space on stringified arrays
dup >kind ns:a n:=
if
>s s:trim
then
.
;

: test-passed \ s x x -- \\ test name, expected value, actual value
2drop
Expand All @@ -35,8 +28,8 @@ true var, run-test
1 tests-failed n:+!
rot
con:red con:onBlack . space " ... FAIL" . con:white con:onBlack cr
" Actual: «" . array-insens-dot "»" . cr
" Expected: «" . array-insens-dot "»" . cr cr
" Actual: «" . . "»" . cr
" Expected: «" . . "»" . cr cr
;

: isword? \ x -- x f
Expand Down
Loading
Loading