You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@test "parses the output of asdf plugin list all" {
setup_repo
install_dummy_plugin
run_nushell "asdf plugin list all | to csv -n"
[ "$status"-eq 0 ]
[ "$output"="\
bar,false,http://example.com/bar
dummy,true,http://example.com/dummy
foo,false,http://example.com/foo" ]
}
Describe the proposed solution
One solution would be to have dummy remote repositories that are cloned in different ways.
ATM the dummy repository is exclusively cloned from a local directory.
Another solution is to manually add a fake "remote origin" (e.g. git remote remove origin && git remote add origin http://example.com); branch and ref can be faked as they are now.
Describe similar asdf features and why they are not sufficient
n/a
Describe other workarounds you've considered
n/a
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
As mentioned in #1507 some features need actually remote repositories for their tests to be complete.
This example only tests for repo "remote" URL that is a local folder, doesn't test other forms of URLs (http, ssh):
asdf/test/asdf_nu.bats
Lines 102 to 115 in 05a8bb9
A similar thing also happens here:
asdf/test/asdf_nu.bats
Lines 150 to 160 in 05a8bb9
Describe the proposed solution
One solution would be to have dummy remote repositories that are cloned in different ways.
ATM the dummy repository is exclusively cloned from a local directory.
Another solution is to manually add a fake "remote origin" (e.g.
git remote remove origin && git remote add origin http://example.com
); branch and ref can be faked as they are now.Describe similar
asdf
features and why they are not sufficientn/a
Describe other workarounds you've considered
n/a
The text was updated successfully, but these errors were encountered: