Skip to content

Commit ed6906f

Browse files
author
David Cavazos
committed
moved tests to source directory
1 parent 0b6d130 commit ed6906f

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

.github/cloud-samples-tools/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ To the tools tests, we must change to the directory where the tools package is d
5555
We can run it in a subshell using parentheses to keep our working directory from changing.
5656

5757
```sh
58-
(cd .github/workflows/samples-tools && go test ./test)
58+
(cd .github/workflows/samples-tools && go test ./...)
5959
```
6060

6161
## Finding affected packages

.github/cloud-samples-tools/test/config_test.go renamed to .github/cloud-samples-tools/pkg/config/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package test
1+
package config_test
22

33
import (
44
c "cloud-samples-tools/pkg/config"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Multi-line
3+
* comment
4+
*/
5+
{
6+
// Single line comment.
7+
"package-file": /* inline comment */ ["package.json"] // trailing comment
8+
}

.github/cloud-samples-tools/test/testdata/config/comments.jsonc

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)