diff --git a/test/variables.test b/test/variables.test
index 4cf9d5e5..5fe60465 100755
--- a/test/variables.test
+++ b/test/variables.test
@@ -38,7 +38,6 @@ $tinc $c1 add Subnet 2
 $tinc $c1 add Subnet 3
 test "`$tinc $c1 get Subnet`" = "1
 2
-2
 3"
 $tinc $c1 del Subnet 2
 test "`$tinc $c1 get Subnet`" = "1
@@ -65,7 +64,6 @@ $tinc $c1 add bar.Subnet 2
 $tinc $c1 add bar.Subnet 3
 test "`$tinc $c1 get bar.Subnet`" = "1
 2
-2
 3"
 $tinc $c1 del bar.Subnet 2
 test "`$tinc $c1 get bar.Subnet`" = "1