diff --git a/test/configCases/target/amd-unnamed/index.js b/test/configCases/target/amd-unnamed/index.js
index <HASH>..<HASH> 100644
--- a/test/configCases/target/amd-unnamed/index.js
+++ b/test/configCases/target/amd-unnamed/index.js
@@ -6,5 +6,5 @@ it("should name define", function() {
 	var fs = require("fs");
 	var source = fs.readFileSync(__filename, "utf-8");
 
-	expect(source).toMatch("define(function(");
+	expect(source).toMatch(/define\(\[[^\]]*\], function\(/);
 });
Fix the "should name define" test in configCases/target/amd-unnamed