Skip to content

Commit bd95f6d

Browse files
committed
test: golden file for events
- all events of cs-demos/default.dem are logged - at the end of the test we check the logged events against test/default.golden
1 parent 00610d8 commit bd95f6d

File tree

13 files changed

+148
-131
lines changed

13 files changed

+148
-131
lines changed

.gitmodules

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

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ before_script:
3030
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.16.0
3131

3232
# Download test data
33-
- pushd cs-demos && git lfs pull -I '*' && popd
33+
- pushd test/cs-demos && git lfs pull -I '*' && popd
3434

3535
script:
3636
- go build ./...

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ To run tests [Git LFS](https://git-lfs.github.com) is required.
166166
```sh
167167
git submodule init
168168
git submodule update
169-
pushd cs-demos && git lfs pull -I '*' && popd
169+
pushd test/cs-demos && git lfs pull -I '*' && popd
170170
go test
171171
```
172172

0 commit comments

Comments
 (0)