Commit 454dd7a
committed
Use t.Setenv in endtoend tests
t.Setenv restores the previous value when the test exits, which avoids
leaking SQLC_DUMMY_VALUE and the per-example VET_TEST_* URIs into other
tests in the same process.
https://claude.ai/code/session_01RCzB2JR5Y5ScFDUmwcxGVZ1 parent f70fa53 commit 454dd7a
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments