Skip to content

Commit 4239e44

Browse files
committed
Fixed a syntax error
1 parent f45dc04 commit 4239e44

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

integration_test.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,11 @@ assert_count "nd" "way_nodes"
7272
echo "INFO: Testing ref_tags count."
7373
assert_count "tag" "ref_tags"
7474

75+
if (( $PASSED == $TOTAL )); then
76+
echo "INFO: Passed all tests."
77+
exit 0;
78+
else
79+
echo "ERROR: Passed only ($PASSED/$TOTAL) test cases.";
80+
exit 1;
81+
fi
82+

src/models.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl Model for Tag {
8181

8282
fn get_create_table_query() -> &'static str {
8383
"CREATE TABLE tags(\
84-
id INETGER,\
84+
id INTEGER,\
8585
name VARCHAR(256),
8686
CONSTRAINT tags_pk PRIMARY KEY(id)\
8787
)"

0 commit comments

Comments
 (0)