Skip to content

Commit

Permalink
Resolve issues from code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
na-- committed Apr 6, 2021
1 parent f995bbb commit bd83527
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/modules/k6/html/html.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (s Selection) adjacentUntil(until func(string) *goquery.Selection,
}
}

err := fmt.Errorf("invalid argument, cannot use a %T as a selector", def[0].Export())
err := fmt.Errorf("invalid argument, cannot use a '%T' as a selector", def[0].Export())
panic(s.rt.NewGoError(err))
}

Expand Down
20 changes: 20 additions & 0 deletions lib/netext/httpext/error_codes_syscall_posix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
*
* k6 - a next-generation load testing tool
* Copyright (C) 2021 Load Impact
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

// +build !windows

package httpext
Expand Down
20 changes: 20 additions & 0 deletions lib/netext/httpext/error_codes_syscall_windows.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
*
* k6 - a next-generation load testing tool
* Copyright (C) 2021 Load Impact
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

package httpext

import (
Expand Down

0 comments on commit bd83527

Please sign in to comment.