Skip to content

Commit

Permalink
Fix TestLoadSketchFromFolder test on Win
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Aug 3, 2016
1 parent 25a651f commit d3c3646
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/arduino.cc/builder/test/sketch_loader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ func TestLoadSketchFromFolder(t *testing.T) {
require.Equal(t, 0, len(sketch.OtherSketchFiles))

require.Equal(t, 4, len(sketch.AdditionalFiles))
require.Contains(t, sketch.AdditionalFiles[0].Name, "sketch_with_subfolders/src/subfolder/other.cpp")
require.Contains(t, sketch.AdditionalFiles[1].Name, "sketch_with_subfolders/src/subfolder/other.h")
require.Contains(t, sketch.AdditionalFiles[2].Name, "sketch_with_subfolders/subfolder/dont_load_me.cpp")
require.Contains(t, sketch.AdditionalFiles[3].Name, "sketch_with_subfolders/subfolder/other.h")
require.Contains(t, filepath.ToSlash(sketch.AdditionalFiles[0].Name), "sketch_with_subfolders/src/subfolder/other.cpp")
require.Contains(t, filepath.ToSlash(sketch.AdditionalFiles[1].Name), "sketch_with_subfolders/src/subfolder/other.h")
require.Contains(t, filepath.ToSlash(sketch.AdditionalFiles[2].Name), "sketch_with_subfolders/subfolder/dont_load_me.cpp")
require.Contains(t, filepath.ToSlash(sketch.AdditionalFiles[3].Name), "sketch_with_subfolders/subfolder/other.h")
}

func TestLoadSketchWithBackup(t *testing.T) {
Expand Down

0 comments on commit d3c3646

Please sign in to comment.