diff options
author | David Phillips <david@sighup.nz> | 2018-08-01 21:55:36 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-08-01 21:55:40 +1200 |
commit | e22abc4eaf4f1446c6ac31e4b709cb5206d4fe3b (patch) | |
tree | 60c923bcf3b259f5480c820689d34ad3ff175abf /test/test-whitespace-input.c | |
parent | eff2535b82ff36dda815ef57c385d7767692c3a5 (diff) | |
download | hence-e22abc4eaf4f1446c6ac31e4b709cb5206d4fe3b.tar.xz |
Add simple language test cases, fix empty line bug
Diffstat (limited to 'test/test-whitespace-input.c')
-rw-r--r-- | test/test-whitespace-input.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/test-whitespace-input.c b/test/test-whitespace-input.c deleted file mode 100644 index cb4ec22..0000000 --- a/test/test-whitespace-input.c +++ /dev/null @@ -1,11 +0,0 @@ -#include <assert.h> - -#include "gate.h" -#include "parser.h" - -int main(void) { - char test_string[] = "input b \n"; - parse_line(test_string); - assert(gate_get_input_by_name("b") != NULL); - return 0; -} |