mirror of
https://github.com/LukeHagar/slinky.git
synced 2025-12-06 04:21:20 +00:00
Update test cases in fsurls_test.go and lang_files_test.go to include the new parameter for URL collection in CollectURLs function.
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
func TestCollectURLs_FromTestFiles(t *testing.T) {
|
||||
root := filepath.Join("..", "..", "testdata")
|
||||
|
||||
urls, err := CollectURLs(root, []string{"**/*"})
|
||||
urls, err := CollectURLs(root, []string{"**/*"}, true)
|
||||
if err != nil {
|
||||
t.Fatalf("CollectURLs error: %v", err)
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
func TestCollectURLs_FromCodeFiles(t *testing.T) {
|
||||
root := filepath.Join("..", "..", "testdata")
|
||||
urls, err := CollectURLs(root, []string{"**/*"})
|
||||
urls, err := CollectURLs(root, []string{"**/*"}, true)
|
||||
if err != nil {
|
||||
t.Fatalf("CollectURLs error: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user