[_] fix tests
This commit is contained in:
parent
c19d4b0534
commit
488864804e
1 changed files with 2 additions and 2 deletions
|
|
@ -33,8 +33,8 @@ func TestPageEditorRender(t *testing.T) {
|
|||
assert.NotEmpty(t, res.CSS)
|
||||
assert.NotEmpty(t, res.Scripts)
|
||||
assert.NotEmpty(t, res.Styles)
|
||||
assert.Equal(t, 4, len(res.Scripts))
|
||||
assert.Equal(t, 5, len(res.Styles))
|
||||
assert.Equal(t, 5, len(res.Scripts))
|
||||
assert.Equal(t, 6, len(res.Styles))
|
||||
|
||||
assert.Equal(t, "@assets/libs/tiny-slider/min/tiny-slider.js", res.Scripts[0])
|
||||
assert.Equal(t, "@assets/libs/feather-icons/feather.min.js", res.Scripts[1])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue