We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffcc870 commit 30adf7eCopy full SHA for 30adf7e
solr/packaging/powershell-tests/Version.Tests.ps1
@@ -41,14 +41,14 @@ Describe "Solr Version Command" {
41
Context "When using --version flag" {
42
It "--version returns Solr version" {
43
$output = & $SolrCmd --version 2>&1
44
- $output | Should -Contain "Solr version is:"
+ $output | Out-String | Should -Match "Solr version is:"
45
}
46
47
48
Context "When using version as direct command" {
49
It "version as direct tool call still runs" {
50
$output = & $SolrCmd version 2>&1
51
52
53
54
0 commit comments