Merge branch 'nd/submodule-helper-incomplete-line-fix'
[gitweb.git] / t / t7411-submodule-config.sh
index 89690b7adb85a9dbcda4fe85c5ab672716f41de8..fcc0fb82d8adb15c592056a259b5f8c5c264d9a2 100755 (executable)
@@ -142,6 +142,15 @@ test_expect_success 'reading submodules config from the working tree with "submo
        )
 '
 
+test_expect_success 'unsetting submodules config from the working tree with "submodule--helper config --unset"' '
+       (cd super &&
+               git submodule--helper config --unset submodule.submodule.url &&
+               git submodule--helper config submodule.submodule.url >actual &&
+               test_must_be_empty actual
+       )
+'
+
+
 test_expect_success 'writing submodules config with "submodule--helper config"' '
        (cd super &&
                echo "new_url" >expect &&