File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
1313)
1414
1515func TestSubmitRelativePath (t * testing.T ) {
16- t .Skip ("The Windows build is failing and needs to be debugged.\n See https://ci.appveyor.com/project/kytrinyx/cli/build/110" )
16+ // t.Skip("The Windows build is failing and needs to be debugged.\nSee https://ci.appveyor.com/project/kytrinyx/cli/build/110")
1717
1818 oldOut := Out
1919 oldErr := Err
@@ -30,6 +30,7 @@ func TestSubmitRelativePath(t *testing.T) {
3030
3131 tmpDir , err := ioutil .TempDir ("" , "relative-path" )
3232 assert .NoError (t , err )
33+ defer os .RemoveAll (tmpDir )
3334
3435 dir := filepath .Join (tmpDir , "bogus-track" , "bogus-exercise" )
3536 os .MkdirAll (dir , os .FileMode (0755 ))
@@ -55,5 +56,5 @@ func TestSubmitRelativePath(t *testing.T) {
5556 assert .NoError (t , err )
5657
5758 assert .Equal (t , 1 , len (submittedFiles ))
58- assert .Equal (t , "This is a file." , submittedFiles ["/ file.txt" ])
59+ assert .Equal (t , "This is a file." , submittedFiles ["\\ file.txt" ])
5960}
You can’t perform that action at this time.
0 commit comments