summaryrefslogtreecommitdiff
path: root/test/test-whitespace-input.c
blob: cb4ec225e9a20d7042b8309832053ad077c10332 (plain)
1
2
3
4
5
6
7
8
9
10
11
#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;
}