| name | Question |
|---|---|
| about | Title of your question. |
| title | |
| labels | question |
| assignees |
Rod Version: v0.0.0
-
Clone Rod to your local and cd to the repository:
git clone https://github.com/go-rod/rod cd rod -
Use your code to replace the content of function
TestRodin filerod_test.go. -
Test your code with:
go test -run TestRod, make sure it fails as expected. -
Replace ALL THE CONTENT under "The code to demonstrate your question" with your
TestRodfunction, like below:
func TestRod(t *testing.T) {
g := setup(t)
g.Eq(1, 2) // the test should fail, here 1 doesn't equal 2
}Such as what error you see.
Such as what you want to do.
Such as after modifying some source code of Rod you are able to get rid of the problem.