Explorar o código

Add missing iterations in tests

Sosthène Guédon %!s(int64=2) %!d(string=hai) anos
pai
achega
24795e6b74
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      tests/test_dirs.toml

+ 2 - 2
tests/test_dirs.toml

@@ -727,7 +727,7 @@ code = '''
     }
     lfs_unmount(&lfs) => 0;
 
-    for (int j = 2; j < COUNT; j++) {
+    for (int j = 2; j < COUNT + 2; j++) {
         lfs_mount(&lfs, &cfg) => 0;
         lfs_dir_open(&lfs, &dir, "hello") => 0;
         lfs_dir_read(&lfs, &dir, &info) => 1;
@@ -787,7 +787,7 @@ code = '''
     }
     lfs_unmount(&lfs) => 0;
 
-    for (int j = 2; j < COUNT; j++) {
+    for (int j = 2; j < COUNT + 2; j++) {
         lfs_mount(&lfs, &cfg) => 0;
         lfs_dir_open(&lfs, &dir, "/") => 0;
         lfs_dir_read(&lfs, &dir, &info) => 1;