Commit 1981788
committed
Fix usetesting linter errors
```
pkg/limatmpl/embed_test.go:439:8: os.Chdir() could be replaced by t.Chdir() in RunEmbedTest (usetesting)
err = os.Chdir(t.TempDir())
^
pkg/limatmpl/embed_test.go:442:7: os.Chdir() could be replaced by t.Chdir() in RunEmbedTest (usetesting)
_ = os.Chdir(cwd)
```
Signed-off-by: Akihiro Suda <[email protected]>1 parent aa81751 commit 1981788
1 file changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
| 437 | + | |
444 | 438 | | |
445 | 439 | | |
446 | 440 | | |
| |||
459 | 453 | | |
460 | 454 | | |
461 | 455 | | |
462 | | - | |
| 456 | + | |
463 | 457 | | |
464 | 458 | | |
465 | 459 | | |
| |||
0 commit comments