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