@@ -90,10 +90,10 @@ func TestWorkspace_List(t *testing.T) {
9090 ctx := context .Background ()
9191
9292 // Create test structure
93- os .MkdirAll (filepath .Join (ws .Root (), "dir1" ), 0o755 )
94- os .MkdirAll (filepath .Join (ws .Root (), "dir2" ), 0o755 )
95- os .WriteFile (filepath .Join (ws .Root (), "file1.txt" ), []byte ("content" ), 0o644 )
96- os .WriteFile (filepath .Join (ws .Root (), "dir1" , "file2.txt" ), []byte ("content" ), 0o644 )
93+ _ = os .MkdirAll (filepath .Join (ws .Root (), "dir1" ), 0o755 )
94+ _ = os .MkdirAll (filepath .Join (ws .Root (), "dir2" ), 0o755 )
95+ _ = os .WriteFile (filepath .Join (ws .Root (), "file1.txt" ), []byte ("content" ), 0o644 )
96+ _ = os .WriteFile (filepath .Join (ws .Root (), "dir1" , "file2.txt" ), []byte ("content" ), 0o644 )
9797
9898 // List non-recursive
9999 result , err := ws .List (ctx , & protocol.ListArgs {Path : "." , Recursive : false })
@@ -111,9 +111,9 @@ func TestWorkspace_Glob(t *testing.T) {
111111 ctx := context .Background ()
112112
113113 // Create test files
114- os .WriteFile (filepath .Join (ws .Root (), "file1.txt" ), []byte ("content" ), 0o644 )
115- os .WriteFile (filepath .Join (ws .Root (), "file2.txt" ), []byte ("content" ), 0o644 )
116- os .WriteFile (filepath .Join (ws .Root (), "file3.log" ), []byte ("content" ), 0o644 )
114+ _ = os .WriteFile (filepath .Join (ws .Root (), "file1.txt" ), []byte ("content" ), 0o644 )
115+ _ = os .WriteFile (filepath .Join (ws .Root (), "file2.txt" ), []byte ("content" ), 0o644 )
116+ _ = os .WriteFile (filepath .Join (ws .Root (), "file3.log" ), []byte ("content" ), 0o644 )
117117
118118 result , err := ws .Glob (ctx , & protocol.GlobArgs {Pattern : "*.txt" })
119119 require .NoError (t , err )
@@ -127,8 +127,8 @@ func TestWorkspace_Grep(t *testing.T) {
127127 ctx := context .Background ()
128128
129129 // Create test files
130- os .WriteFile (filepath .Join (ws .Root (), "file1.txt" ), []byte ("hello world\n foo bar\n hello again" ), 0o644 )
131- os .WriteFile (filepath .Join (ws .Root (), "file2.txt" ), []byte ("no match here" ), 0o644 )
130+ _ = os .WriteFile (filepath .Join (ws .Root (), "file1.txt" ), []byte ("hello world\n foo bar\n hello again" ), 0o644 )
131+ _ = os .WriteFile (filepath .Join (ws .Root (), "file2.txt" ), []byte ("no match here" ), 0o644 )
132132
133133 result , err := ws .Grep (ctx , & protocol.GrepArgs {Pattern : "hello" })
134134 require .NoError (t , err )
0 commit comments