From 6b330b74569f62257b8e7696ecdea74e353f8c12 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sat, 2 Apr 2022 12:58:29 +0200 Subject: [PATCH] Fix tests --- tests/Composer/Test/Autoload/AutoloadGeneratorTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Composer/Test/Autoload/AutoloadGeneratorTest.php b/tests/Composer/Test/Autoload/AutoloadGeneratorTest.php index 8cc6b82ad..9ca6e844e 100644 --- a/tests/Composer/Test/Autoload/AutoloadGeneratorTest.php +++ b/tests/Composer/Test/Autoload/AutoloadGeneratorTest.php @@ -1607,8 +1607,8 @@ EOF; $map = $this->generator->buildPackageMap($this->im, $package, array($dep)); $parsed = $this->generator->parseAutoloads($map, $package); $this->assertSame(array( - preg_quote(strtr((string) realpath(dirname($this->workingDir))), '\\', '/').'/excludedroot($|/)', - preg_quote(strtr((string) realpath(dirname($this->workingDir))), '\\', '/').'/root/excl($|/)' + preg_quote(strtr((string) realpath(dirname($this->workingDir)), '\\', '/')).'/excludedroot($|/)', + preg_quote(strtr((string) realpath(dirname($this->workingDir)), '\\', '/')).'/root/excl($|/)' ), $parsed['exclude-from-classmap']); }