Skip to content

Commit

Permalink
Fix typos in failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joereuss12 committed Apr 29, 2024
1 parent 1457d0c commit ece037c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ func TestQuery(t *testing.T) {

err = checkValidQuery(transferUrl)
assert.Error(t, err)
assert.Contains(t, err.Error(), "Invalid query parameters procided in url: pelican://something/here?durectreeds")
assert.Contains(t, err.Error(), "Invalid query parameters provided in url: pelican://something/here?durectreeds")
})

t.Run("TestBothQueryCheckSuccess", func(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ func TestPluginDirectRead(t *testing.T) {
viper.Set("Origin.StorageType", "posix")
viper.Set("Origin.ExportVolumes", "/test")
viper.Set("Origin.EnablePublicReads", true)
viper.Set("Origin.DirectReads", true)
viper.Set("Origin.EnableDirectReads", true)
fed := fed_test_utils.NewFedTest(t, "")
host := param.Server_Hostname.GetString() + ":" + strconv.Itoa(param.Server_WebPort.GetInt())

Expand Down Expand Up @@ -564,7 +564,7 @@ func TestQuery(t *testing.T) {

err = checkValidQuery(transferUrl)
assert.Error(t, err)
assert.Contains(t, err.Error(), "Invalid query parameters procided in url: pelican://something/here?recrustive=true")
assert.Contains(t, err.Error(), "Invalid query parameters provided in url: pelican://something/here?recrustive=true")
})

t.Run("TestBothPackAndRecursiveFailure", func(t *testing.T) {
Expand Down

0 comments on commit ece037c

Please sign in to comment.