aboutsummaryrefslogtreecommitdiff
path: root/test/symbolic
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-01-31 13:25:16 -0500
committerGitHub <noreply@github.com>2021-01-31 13:25:16 -0500
commite85c8dff692c894a614192f6dd8a4c71c1c9fe30 (patch)
tree077b5c54b39b538c09b44a419044648cc36fdce9 /test/symbolic
parentb2713f11b48fe8029aeae07ef6a55ef182a4fbfd (diff)
parent81794204ce85dd15a62a27275fe717c7033e65d5 (diff)
downloadrneovim-e85c8dff692c894a614192f6dd8a4c71c1c9fe30.tar.gz
rneovim-e85c8dff692c894a614192f6dd8a4c71c1c9fe30.tar.bz2
rneovim-e85c8dff692c894a614192f6dd8a4c71c1c9fe30.zip
Merge pull request #12937 from jamessan/term-env
Diffstat (limited to 'test/symbolic')
-rw-r--r--test/symbolic/klee/nvim/charset.c4
-rw-r--r--test/symbolic/klee/nvim/memory.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/symbolic/klee/nvim/charset.c b/test/symbolic/klee/nvim/charset.c
index f9bc3fabc4..fd1c5ee4b9 100644
--- a/test/symbolic/klee/nvim/charset.c
+++ b/test/symbolic/klee/nvim/charset.c
@@ -62,7 +62,7 @@ void vim_str2nr(const char_u *const start, int *const prep, int *const len,
goto vim_str2nr_dec;
}
default: {
- assert(false);
+ abort();
}
}
} else if ((what & (STR2NR_HEX|STR2NR_OCT|STR2NR_BIN))
@@ -102,7 +102,7 @@ void vim_str2nr(const char_u *const start, int *const prep, int *const len,
}
// Do the string-to-numeric conversion "manually" to avoid sscanf quirks.
- assert(false); // Should’ve used goto earlier.
+ abort(); // Should’ve used goto earlier.
#define PARSE_NUMBER(base, cond, conv) \
do { \
while (!STRING_ENDED(ptr) && (cond)) { \
diff --git a/test/symbolic/klee/nvim/memory.c b/test/symbolic/klee/nvim/memory.c
index df422cea3e..1614f813d7 100644
--- a/test/symbolic/klee/nvim/memory.c
+++ b/test/symbolic/klee/nvim/memory.c
@@ -45,7 +45,7 @@ void xfree(void *const p)
return;
}
}
- assert(false);
+ abort();
}
void *xrealloc(void *const p, size_t new_size)
@@ -63,7 +63,7 @@ void *xrealloc(void *const p, size_t new_size)
return ret;
}
}
- assert(false);
+ abort();
return (void *)(intptr_t)1;
}