mirror of
https://github.com/gmodena/nix-flatpak.git
synced 2024-11-28 00:27:21 +03:00
test: ref: rename test cases
Renaming for consistency.
This commit is contained in:
parent
6154358654
commit
b4613e797b
@ -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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user