浏览代码

Fix LinkerTest::RunLinkMatParamToLib regex

Tex Riddell 7 年之前
父节点
当前提交
5d7b61ec8d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/clang/unittests/HLSL/LinkerTest.cpp

+ 1 - 1
tools/clang/unittests/HLSL/LinkerTest.cpp

@@ -357,7 +357,7 @@ TEST_F(LinkerTest, RunLinkMatParamToLib) {
   Link(L"", L"lib_6_3", pLinker, {libName},
        // The bitcast cannot be removed because user function call use it as
        // argument.
-       {"bitcast \\<12 x float\\>\\* \\%\\d+ to \\%class\\.matrix\\.float\\.4\\.3\\*"}, {}, {}, true);
+       {"bitcast <12 x float>\\* %.* to %class\\.matrix\\.float\\.4\\.3\\*"}, {}, {}, true);
 }
 
 TEST_F(LinkerTest, RunLinkResRet) {