1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 01:57:09 +03:00
mal/bash
Dov Murik 4c77d21607 bash: Fix string? result on keyword arguments
Fixed wrong `string?` value on keyword arguments in bash implementation
(2 soft test fails).

Before the fix:

```
TEST: (string? :abc) -> ['',false] -> SOFT FAIL (line 115):
    Expected : '(string? :abc)\r\nfalse'
    Got      : '(string? :abc)\r\ntrue'
TEST: (string? (keyword "abc")) -> ['',false] -> SOFT FAIL (line 117):
    Expected : '(string? (keyword "abc"))\r\nfalse'
    Got      : '(string? (keyword "abc"))\r\ntrue'
```

With the fix:

```
TEST: (string? :abc) -> ['',false] -> SUCCESS
TEST: (string? (keyword "abc")) -> ['',false] -> SUCCESS
```
2017-07-20 20:12:14 +00:00
..
tests All: rename stepA_interop to stepA_mal 2015-02-28 11:09:54 -06:00
core.sh bash: Fix string? result on keyword arguments 2017-07-20 20:12:14 +00:00
Dockerfile travis: add bash, c, make to test matrix. 2015-10-05 18:55:00 -05:00
env.sh All: add keywords. 2015-01-09 16:16:50 -06:00
Makefile Dist/packaging for most impls. erlang, racket *ARGV* fixes. 2016-02-24 00:45:40 -06:00
printer.sh All: fix read/print of \\, and \n 2015-10-30 22:05:49 -05:00
reader.sh bash: fix negative nums, more complex test. 2016-02-26 21:00:14 -06:00
run Refactor to use run scripts, remove *_RUNSTEP 2016-05-18 22:29:18 -07:00
step0_repl.sh All step0: add test, fix bugs, remove step0 eval. 2015-03-07 09:04:07 -06:00
step1_read_print.sh bash: use env in shebang 2015-02-10 15:59:50 -05:00
step2_eval.sh Fix empty list eval in step2 for most languages. 2016-04-02 18:40:49 -05:00
step3_env.sh bash: Fix crash on literal empty list 2016-03-31 14:46:57 -04:00
step4_if_fn_do.sh bash: Fix crash on literal empty list 2016-03-31 14:46:57 -04:00
step5_tco.sh bash: Fix crash on literal empty list 2016-03-31 14:46:57 -04:00
step6_file.sh bash: Fix crash on literal empty list 2016-03-31 14:46:57 -04:00
step7_quote.sh bash: Fix crash on literal empty list 2016-03-31 14:46:57 -04:00
step8_macros.sh bash: Fix crash on literal empty list 2016-03-31 14:46:57 -04:00
step9_try.sh bash: Fix crash on literal empty list 2016-03-31 14:46:57 -04:00
stepA_mal.sh bash: Fix crash on literal empty list 2016-03-31 14:46:57 -04:00
types.sh hash-map equality: bash, c, coffee, cs, es6, ... 2015-11-16 23:28:58 -06:00