Skip to content

Commit e6f3d76

Browse files
committed
Fix test case expectation message
1 parent 27494a8 commit e6f3d76

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test-cases/execution/nbody.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
n: energy: -0.169075
22
energy: -0.169088
33

4-
malloc count: (should be 5005 with multi-specz and 10006 without it)
4+
malloc count: (should be 5001 with multi-specz and 10001 without it)
55
5001

test-cases/execution/nbody.wybe

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Wybe implementation of https://benchmarksgame-team.pages.debian.net/benchmarksgame/description/nbody.html#nbody
22

3-
pub type bodylist { pub constructors empty | body(x:float, y:float, z:float, vx:float, vy:float, vz:float, m:float, tail:bodylist) }
3+
pub type bodylist { pub constructors empty | body(x:float, y:float, z:float, vx:float, vy:float, vz:float, m:float, tail:_) }
44

55
pub def get_bodies(?bodies:bodylist) {
66
?PI = 3.14159265358979323
@@ -201,5 +201,5 @@ advance(0.01, n, !bodies)
201201
!report_energy(bodies)
202202
!nl
203203
!malloc_count(?mc)
204-
!println("malloc count: (should be 5005 with multi-specz and 10006 without it)")
204+
!println("malloc count: (should be 5001 with multi-specz and 10001 without it)")
205205
!println(mc)

0 commit comments

Comments
 (0)