test/: Make `nml.tickle' be a `progn' method.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 11:59:22 +0000 (12:59 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 17:11:39 +0000 (18:11 +0100)
I think this was always intended, but I didn't have the method
combination until now.

test/chimaera.ref
test/chimaera.sod

index 1842c08..897e953 100644 (file)
@@ -30,7 +30,13 @@ provoking Chimaera as a serpent
 Nom!
 tickle Chimaera #0...
 Munch!
+Bonk!
+Sssss!
 tickle Chimaera #1...
 Munch!
+Bonk!
+Sssss!
 tickle Chimaera #2...
 Munch!
+Bonk!
+Nom!
index 018957e..d748bb5 100644 (file)
@@ -16,6 +16,7 @@ code h : includes {
 class Animal : SodObject {
   int tickles = 0;
 
+  [combination = progn]
   void tickle();
 
   [role = before]