diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2023-03-30 15:35:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 15:35:00 +0200 |
commit | 72ca444122bf99c58a88768faa22c12aca5e3ccc (patch) | |
tree | 3ae81b96e0d2b5113ab04ddb49e1f0804f0bdebd /tests/errmsgs | |
parent | ecf9efa3977f95aed5229ab79cd6ac4799a32a4c (diff) | |
download | Nim-72ca444122bf99c58a88768faa22c12aca5e3ccc.tar.gz |
hopefully easier to understand error message (#21585)
Diffstat (limited to 'tests/errmsgs')
-rw-r--r-- | tests/errmsgs/tconcisetypemismatch.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/errmsgs/tconcisetypemismatch.nim b/tests/errmsgs/tconcisetypemismatch.nim index 4227644ce..c2896604f 100644 --- a/tests/errmsgs/tconcisetypemismatch.nim +++ b/tests/errmsgs/tconcisetypemismatch.nim @@ -7,7 +7,7 @@ Expression: int(inNanoseconds(t2 - t1)) / 100.5 [1] int(inNanoseconds(t2 - t1)): int [2] 100.5: float64 -Expected one of (first mismatch at position [#]): +Expected one of (first mismatch at [position]): [1] proc `/`(x, y: float): float [1] proc `/`(x, y: float32): float32 [2] proc `/`(x, y: int): float @@ -20,4 +20,4 @@ from times import inNanoseconds let t1 = getMonotime() let result = 1 + 2 let t2 = getMonotime() -echo "Elapsed: ", (t2 - t1).inNanoseconds.int / 100.5 \ No newline at end of file +echo "Elapsed: ", (t2 - t1).inNanoseconds.int / 100.5 |