forked from grafana/k6
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop js.common.RunString as it is just goja.Runtime.RunString
I used github.com/rsc/rf with ``` ex { import "github.com/loadimpact/k6/js/common" import "github.com/dop251/goja" var rt *goja.Runtime var s string common.RunString(rt, s) -> rt.RunString(s) } ``` to make it, which worked for all packages but `js` itself but that was quick by hand. This change has 0 practical changes apart from the fact that it doesn't use a useless utility function. The utility function in the past was doing stuff but that was changed in 923f886 , but I didn't actually drop the no longer needed utility function at the time, either because I didn't realize it's not needed or under a time constraint. The additional changes in k6_test.go and metrics_test.go are because of golangci-lint and gofumpt.
- Loading branch information
1 parent
ac4b9c7
commit 8bd9d22
Showing
19 changed files
with
574 additions
and
580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.