diff options
| author | Kartik K. Agaram <vc@akkartik.com> | 2021-12-17 22:35:21 -0800 |
|---|---|---|
| committer | Kartik K. Agaram <vc@akkartik.com> | 2021-12-17 22:35:21 -0800 |
| commit | d6129cd571a1a541abaf237d299058a5eed204bf (patch) | |
| tree | 6be571bd83053dbb42aa8890ca4bb935f2529359 /src | |
| parent | 42b1bd842cd693f034c97b4644c9f28146fc489d (diff) | |
| download | teliva-d6129cd571a1a541abaf237d299058a5eed204bf.tar.gz | |
correct count of test failures
Diffstat (limited to 'src')
| -rw-r--r-- | src/lua.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -351,7 +351,7 @@ int run_tests(lua_State *L) { int num_failures = lua_tointeger(L, -1); lua_pop(L, 1); if (num_failures == 0) return 0; - printf("%ld failures", lua_tointeger(L, -1)); + printf("%d failures", num_failures); fflush(stdout); getch(); /* take first failure back to developer mode */ |