Skip to content

Commit

Permalink
[fix] test data
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Apr 24, 2023
1 parent 48415db commit 14864e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion studio/studio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func TestAPI(t *testing.T) {

code, rows = httpGet[arr]("/dsl/ReadDir?name=/models&recursive=1", t)
assert.Equal(t, 200, code)
assert.Equal(t, 12, len(rows))
assert.Equal(t, 13, len(rows))

code, length := httpPost[int]("/dsl/WriteFile?name=/models/foo.mod.yao", []byte(`{"name":"foo"}`), t)
assert.Equal(t, 200, code)
Expand Down

0 comments on commit 14864e9

Please sign in to comment.