test: ref: rename test cases

Renaming for consistency.
This commit is contained in:
Gabriele Modena 2024-11-07 23:08:37 +01:00
parent 6154358654
commit b4613e797b

View File

@ -46,22 +46,22 @@ runTests {
expected = "example";
};
testGetRemoteNameWithSuggestedName = {
testGetRemoteNameWithSuggestRemoteName = {
expr = ref.getRemoteNameFromFlatpakref null { SuggestRemoteName = "local"; };
expected = "local";
};
testGetRemoteNameWithNoSuggestedName = {
testGetRemoteNameWithoutSuggestRemoteName = {
expr = ref.getRemoteNameFromFlatpakref null { Name = "Example"; };
expected = "example-origin";
};
testGetRemoteNameWithNoSuggestedNameAndNameEndingWithDot = {
testGetRemoteNameWithoutSuggestRemoteNameAndNameEndingWithDot = {
expr = ref.getRemoteNameFromFlatpakref null { Name = "Example."; };
expected = "example-origin";
};
testGetRemoteNameWithNoSuggestedNameAndNameStartingWithDot = {
testGetRemoteNameWithoutSuggestRemoteNameAndNameStartingWithDot = {
expr = ref.getRemoteNameFromFlatpakref null { Name = ".Example"; };
expected = "example-origin";
};