diff options
author | Arne Döring <arne.doering@gmx.net> | 2018-11-14 23:14:16 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-11-23 11:58:28 +0100 |
commit | e012eb100109d343b7cdbe2598d439d84eda7830 (patch) | |
tree | ec977218e469415b04cc7005473f9f3358dcd553 /tests/misc/tstrdist.nim | |
parent | 8ea72bdceab5a13318a0269bb44990e514bf03a7 (diff) | |
download | Nim-e012eb100109d343b7cdbe2598d439d84eda7830.tar.gz |
updated tests to be executed
Diffstat (limited to 'tests/misc/tstrdist.nim')
-rw-r--r-- | tests/misc/tstrdist.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/tstrdist.nim b/tests/misc/tstrdist.nim index 3e1939e73..53ace2fae 100644 --- a/tests/misc/tstrdist.nim +++ b/tests/misc/tstrdist.nim @@ -23,4 +23,4 @@ proc editDistance(a, b: string): int = c[(i-1)*n + (j-1)] = min(x,min(y,z)) return c[n*m] -write(stdout, editDistance("abc", "abd")) +doAssert editDistance("abc", "abd") == 3 |