Skip to content

Commit

Permalink
fix: remove tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Aug 23, 2024
1 parent 57868d8 commit 320d389
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 48 deletions.
33 changes: 0 additions & 33 deletions _test/install/binary_nogopath/expected3.txt

This file was deleted.

7 changes: 0 additions & 7 deletions _test/install/binary_nogopath/test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,4 @@ diff -u actual.txt /root/expected.txt
./ruleguard -e 'm.Match(`$f($*_, ($x), $*_)`)' /root/target.go &> actual.txt || true
diff -u actual.txt /root/expected2.txt

export GO111MODULE=off
cd /usr/local/go
go get -v -u github.com/quasilyte/go-ruleguard/dsl
go get -v -u github.com/quasilyte/ruleguard-rules-test/...
CGO_ENABLED=0 /root/test/ruleguard -rules /root/rules.go ./src/encoding/... &> actual.txt || true
diff -u actual.txt /root/expected3.txt

echo SUCCESS
1 change: 0 additions & 1 deletion _test/install/gitclone/expected6.txt

This file was deleted.

7 changes: 0 additions & 7 deletions _test/install/gitclone/test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,4 @@ diff -u actual.txt /root/expected4.txt
./go-ruleguard -e 'm.Match(`$f($*_, ($x), $*_)`)' /root/target.go &> actual.txt || true
diff -u actual.txt /root/expected5.txt

# Run inside GOROOT.
export GO111MODULE=off
cd /usr/local/go
go get -v -u github.com/quasilyte/go-ruleguard/dsl
/root/go-ruleguard/go-ruleguard -rules /root/rules.go ./src/encoding/... &> actual.txt || true
diff -u actual.txt /root/expected6.txt

echo SUCCESS

0 comments on commit 320d389

Please sign in to comment.