headers: normalize the spelling of some header guards
[gitweb.git] / t / t3206-range-diff.sh
index d481f2925924317a44f1bba65e6ca41fc57cc65d..045aca1c18bec3d5278eb50a461df0588dd84618 100755 (executable)
@@ -122,6 +122,11 @@ test_expect_success 'changed commit' '
        test_cmp expected actual
 '
 
+test_expect_success 'no commits on one side' '
+       git commit --amend -m "new message" &&
+       git range-diff master HEAD@{1} HEAD
+'
+
 test_expect_success 'changed message' '
        git range-diff --no-color topic...changed-message >actual &&
        sed s/Z/\ /g >expected <<-EOF &&