mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2025-12-12 16:10:04 +01:00
fix: unmarshal legacyImports
This commit is contained in:
parent
e28e7ff55b
commit
fcac885ce2
3 changed files with 5 additions and 4 deletions
|
|
@ -210,7 +210,7 @@ func TestLoadEmpty(t *testing.T) {
|
|||
|
||||
// write empty json file
|
||||
tempFile := filepath.Join(tempDir, jsonnetfile.File)
|
||||
err = ioutil.WriteFile(tempFile, []byte(`{"version":1}`), os.ModePerm)
|
||||
err = ioutil.WriteFile(tempFile, []byte(`{}`), os.ModePerm)
|
||||
assert.Nil(t, err)
|
||||
|
||||
// expect it to be loaded properly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue