Skip to content

Commit

Permalink
Split WSL version from dashes
Browse files Browse the repository at this point in the history
The WSL version contains dashes instead of spaces which causes Leap tests to fail, as Windows cannot find the app in the search bar when written with dashes
  • Loading branch information
Pablo Herranz Ramírez committed Nov 21, 2023
1 parent 7363643 commit d463e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/wsl/install_wsl.pm
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ sub run {
record_info 'Port close', 'Closing serial port...';
$self->run_in_powershell(cmd => '$port.close()', code => sub { });
$self->run_in_powershell(cmd => 'exit', code => sub { });
$self->use_search_feature($WSL_version);
$self->use_search_feature($WSL_version =~ s/-/ /g);
assert_and_click 'wsl-suse-startup-search';
} elsif ($install_from eq 'msstore') {
# Install required SUSE distro from the MS Store
Expand Down

0 comments on commit d463e3e

Please sign in to comment.