chiark / gitweb /
Convert "stg refresh" to the new infrastructure
[stgit] / t / t3100-reset.sh
index 0b5cd2ce7eb185b2d6ba908bf722eef596c1dd50..302497523f4c55b32720b6745768004c443ea01d 100755 (executable)
@@ -152,7 +152,7 @@ cat > expected.txt <<EOF
 222
 EOF
 test_expect_success '... and undo the refresh' '
 222
 EOF
 test_expect_success '... and undo the refresh' '
-    stg reset master.stgit^~1 &&
+    stg reset master.stgit^~2 &&
     test "$(echo $(stg series --all))" = "+ p1 > p2" &&
     test_cmp expected.txt a
 '
     test "$(echo $(stg series --all))" = "+ p1 > p2" &&
     test_cmp expected.txt a
 '