mirror of
https://codeberg.org/scip/rpnc.git
synced 2025-12-17 12:31:04 +01:00
do not use formatter, specify build target
This commit is contained in:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: make
|
run: make buildlocal
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: make test
|
run: make test
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ func TestCommentsAndWhitespace(t *testing.T) {
|
|||||||
t.Run(testname, func(t *testing.T) {
|
t.Run(testname, func(t *testing.T) {
|
||||||
for _, line := range test.cmd {
|
for _, line := range test.cmd {
|
||||||
if err := calc.Eval(line); err != nil {
|
if err := calc.Eval(line); err != nil {
|
||||||
t.Errorf(err.Error())
|
t.Error(err.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
got := calc.stack.Last()
|
got := calc.stack.Last()
|
||||||
@@ -292,7 +292,7 @@ func TestCalc(t *testing.T) {
|
|||||||
t.Run(testname, func(t *testing.T) {
|
t.Run(testname, func(t *testing.T) {
|
||||||
calc.batch = test.batch
|
calc.batch = test.batch
|
||||||
if err := calc.Eval(test.cmd); err != nil {
|
if err := calc.Eval(test.cmd); err != nil {
|
||||||
t.Errorf(err.Error())
|
t.Error(err.Error())
|
||||||
}
|
}
|
||||||
got := calc.Result()
|
got := calc.Result()
|
||||||
calc.stack.Clear()
|
calc.stack.Clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user