Skip to content

Commit c82ea38

Browse files
committed
codelabs: edit testing to correct command
Release note: None Previously, it said to run Datadriven tests. However, the correct form is DataDriven. The Datadriven command is incorrect. Now, it is corrected.
1 parent 7f2338b commit c82ea38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/codelabs/01-sql-statement.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ FROBNICATE ALL
493493
```
494494

495495
Back to the terminal, make sure you are at `~/go/src/github.com/cockroachdb/cockroach`,
496-
and run `./dev test pkg/sql/parser -f TestParseDatadriven --rewrite`.
497-
The flag `--rewrite` is meant to automatically rewrite the datadriven test with the output it received.
496+
and run `./dev test pkg/sql/parser -f TestParseDataDriven --rewrite`.
497+
The flag `--rewrite` is meant to automatically rewrite the DataDriven test with the output it received.
498498

499499
Wait until the test command finishes, and open `pkg/sql/parser/testdata/frobnicate`, and you would expect:
500500

0 commit comments

Comments
 (0)