diff --git a/images/macos/tests/LLVM.Tests.ps1 b/images/macos/tests/LLVM.Tests.ps1 index 0591d049..2e371ef7 100644 --- a/images/macos/tests/LLVM.Tests.ps1 +++ b/images/macos/tests/LLVM.Tests.ps1 @@ -3,7 +3,7 @@ $os = Get-OSVersion Describe "Clang/LLVM" { It "Clang/LLVM is installed and version is correct" { $toolsetVersion = Get-ToolsetValue 'llvm.version' - $clangVersion = & "$(brew --prefix llvm)/bin/clang" --version + $clangVersion = & "$(brew --prefix llvm@$toolsetVersion)/bin/clang" --version $clangVersion[0] | Should -BeLike "*${toolsetVersion}*" } } \ No newline at end of file