Skip to content

Commit b9bb35e

Browse files
committed
Moved demos from test/cs-demos to cs-demos
1 parent fade406 commit b9bb35e

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[submodule "cs-demos"]
2-
path = test/cs-demos
2+
path = cs-demos
33
url = https://gitlab.com/markus-wa/cs-demos
44
branch = master
55
[submodule "vendor"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ To run tests [Git LFS](https://git-lfs.github.com) is required.
111111
```sh
112112
git submodule init
113113
git submodule update
114-
pushd test/cs-demos && git lfs pull && popd
114+
pushd cs-demos && git lfs pull && popd
115115
go test
116116
```
117117

Submodule cs-demos updated from 0000000 to 28d6183

demoinfocs_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
msg "github.com/markus-wa/demoinfocs-golang/msg"
2323
)
2424

25-
const csDemosPath = "test/cs-demos"
25+
const csDemosPath = "cs-demos"
2626
const demSetPath = csDemosPath + "/set"
2727
const defaultDemPath = csDemosPath + "/default.dem"
2828
const unexpectedEndOfDemoPath = csDemosPath + "/unexpected_end_of_demo.dem"

examples/heatmap/heatmap_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
// Just make sure the example runs
99
func TestHeatmap(t *testing.T) {
10-
os.Args = []string{"cmd", "-demo", "../../test/cs-demos/default.dem"}
10+
os.Args = []string{"cmd", "-demo", "../../cs-demos/default.dem"}
1111

1212
// Redirect stdout, the resulting image is written to this
1313
old := os.Stdout

examples/net-messages/netmessages_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
// Just make sure the example runs
99
func TestNetMessages(t *testing.T) {
10-
os.Args = []string{"cmd", "-demo", "../../test/cs-demos/default.dem"}
10+
os.Args = []string{"cmd", "-demo", "../../cs-demos/default.dem"}
1111

1212
main()
1313
}

examples/scores/scores_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
// Just make sure the example runs
99
func TestScores(t *testing.T) {
10-
os.Args = []string{"cmd", "-demo", "../../test/cs-demos/default.dem"}
10+
os.Args = []string{"cmd", "-demo", "../../cs-demos/default.dem"}
1111

1212
main()
1313
}

0 commit comments

Comments
 (0)