We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6757fe3 commit 8fccf4bCopy full SHA for 8fccf4b
internal/execute/testsys_test.go
@@ -118,7 +118,10 @@ func (s *testSys) ensureLibPathExists(path string) {
118
s.fs.defaultLibs = collections.NewSetWithSizeHint[string](tsoptions.LibFilesSet.Len() + len(tsoptions.TargetToLibMap()) + 1)
119
}
120
s.fs.defaultLibs.Add(path)
121
- s.TestFS().WriteFile(path, tscDefaultLibContent, false)
+ err := s.TestFS().WriteFile(path, tscDefaultLibContent, false)
122
+ if err != nil {
123
+ panic("Failed to write default library file: " + err.Error())
124
+ }
125
126
127
0 commit comments