summaryrefslogtreecommitdiff
path: root/internal/repl/concurrent_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/repl/concurrent_test.go')
-rw-r--r--internal/repl/concurrent_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/repl/concurrent_test.go b/internal/repl/concurrent_test.go
index 14c82ef..d07b9ce 100644
--- a/internal/repl/concurrent_test.go
+++ b/internal/repl/concurrent_test.go
@@ -25,7 +25,8 @@ func TestConcurrentRPN(t *testing.T) {
wg.Add(1)
go func(id int) {
defer wg.Done()
- runRPN("3 4 +")
+ // Ignore error return as the expression "3 4 +" should always succeed
+ _, _ = runRPN("3 4 +")
}(i)
}
wg.Wait()
@@ -55,7 +56,8 @@ func TestConcurrentExecutorAndRPN(t *testing.T) {
}(i)
go func(id int) {
defer wg.Done()
- runRPN("3 4 +")
+ // Ignore error return as the expression "3 4 +" should always succeed
+ _, _ = runRPN("3 4 +")
}(i)
}
wg.Wait()