Skip to content

Commit 17efd61

Browse files
authored
test: Update tests (#1229)
Follow up to #1227 ---
1 parent 7e01643 commit 17efd61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

serve/package_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func checkTables(t *testing.T, distDir string) {
134134
tablesString := string(content)
135135

136136
if diff := cmp.Diff(tablesString, "[{\"name\":\"table1\",\"relations\":[\"table2\"]},{\"name\":\"table2\"}]\n"); diff != "" {
137-
t.Fatalf("unexpected files in docs directory (-want +got):\n%s", diff)
137+
t.Fatalf("unexpected content in tables.json (-want +got):\n%s", diff)
138138
}
139139
}
140140

serve/plugin_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func TestPluginServe(t *testing.T) {
8181
}
8282

8383
if len(tables) != 2 {
84-
t.Fatalf("Expected 0 tables but got %d", len(tables))
84+
t.Fatalf("Expected 2 tables but got %d", len(tables))
8585
}
8686
testTable := schema.Table{
8787
Name: "test_table",

0 commit comments

Comments
 (0)