Small refactorings
This commit is contained in:
@@ -16,7 +16,7 @@ var _ = Describe("Translations", func() {
|
||||
Describe("I18n files", func() {
|
||||
var fs http.FileSystem
|
||||
BeforeEach(func() {
|
||||
fs = http.FS(resources.Assets())
|
||||
fs = http.FS(resources.FS)
|
||||
})
|
||||
It("contains only valid json language files", func() {
|
||||
dir, _ := fs.Open(consts.I18nFolder)
|
||||
|
||||
Reference in New Issue
Block a user