diff --git a/_examples/pointers/test.py b/_examples/pointers/test.py index de7e024..93e713f 100644 --- a/_examples/pointers/test.py +++ b/_examples/pointers/test.py @@ -13,4 +13,20 @@ print("s = %s" % (s,)) print("s.Value = %s" % (s.Value,)) print("pointers.Inc(s)") +pointers.Inc(s) print("s.Value = %s" % (s.Value,)) + +## FIXME(sbinet) +#i = int(42) +#print("i = %s" % (i,)) +#print("pointers.IncInt(i)") +#pointers.IncInt(i) +#print("i = %s" % (i,)) + +## FIXME(sbinet) +#i = pointers.MyInt(3) +#print("i = %s" % (i,)) +#print("pointers.IncMyInt(i)") +#pointers.IncMyInt(i) +#print("i = %s" % (i,)) + diff --git a/main_test.go b/main_test.go index 03c3998..0c3fd2f 100644 --- a/main_test.go +++ b/main_test.go @@ -277,7 +277,6 @@ doc(pkg): } func TestBindPointers(t *testing.T) { - t.Skip("not ready yet") t.Parallel() testPkg(t, pkg{ path: "_examples/pointers", @@ -285,8 +284,6 @@ func TestBindPointers(t *testing.T) { s = pointers.S{Value:2} s.Value = 2 pointers.Inc(s) -==> go: s.Value==2 -<== go: s.Value==3 s.Value = 3 `), })