shithub: mc

Download patch

ref: 4469bf2ece473f5e51cd549131f76f184705f75f
parent: aedfbe887c3e0e2a2b8f5f9fa546c1f792e0483c
author: Ori Bernstein <[email protected]>
date: Tue Aug 19 14:29:54 EDT 2014

Fix broken test.

    We forgot to reinitialize the pointers. Ooops.

--- a/test/ptrcmp.myr
+++ b/test/ptrcmp.myr
@@ -8,6 +8,8 @@
 	a = &v1
 	b = &v1
 	std.assert(a == b, "pointers should be equal, but weren't\n")
+	a = &v1
+	b = &v2
 	std.assert(a != b, "pointers weren't equal, but should be\n")
 	std.exit(0)
 }