Skip to content

Commit 19308a4

Browse files
committed
check for updated name
1 parent 207dd54 commit 19308a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ondeck/mysql/db_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func runOnDeckQueries(t *testing.T, q *Queries) {
123123
Slug: venue.Slug,
124124
City: city.Slug,
125125
})
126-
if diff := cmp.Diff(expected, fresh.Slug); diff != "" {
126+
if diff := cmp.Diff(expected, fresh.Name); diff != "" {
127127
t.Errorf("update venue mismatch:\n%s", diff)
128128
}
129129
}

0 commit comments

Comments
 (0)