mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
4
renderer/mock_generator.go
Normal file
4
renderer/mock_generator.go
Normal file
@@ -0,0 +1,4 @@
|
||||
// Copyright 2023 Princess B33f Heavy Industries / Dave Shanley
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package renderer
|
||||
@@ -1010,6 +1010,7 @@ func TestCreateFakeDictionary(t *testing.T) {
|
||||
assert.Equal(t, "five", renderer.RandomWord(4, 4, 0))
|
||||
assert.Equal(t, "one", renderer.RandomWord(2, 3, 0))
|
||||
assert.Equal(t, "three", renderer.RandomWord(5, 5, 0))
|
||||
assert.NotEmpty(t, "three", renderer.RandomWord(0, 0, 0))
|
||||
}
|
||||
|
||||
func TestReadDictionary_BadReadFile(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user