File: 0001-Don-t-check-local-src-path-on-tests.patch

package info (click to toggle)
php-phpspec-prophecy-phpunit 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 208 kB
  • sloc: php: 197; makefile: 17
file content (22 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Sun, 23 Apr 2023 08:58:10 +0200
Subject: =?utf-8?q?Don=E2=80=99t_check_local_src/_path_on_tests?=

Forwarded: not-needed
---
 tests/MockFailure.phpt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/MockFailure.phpt b/tests/MockFailure.phpt
index 8fd1853..c83c110 100644
--- a/tests/MockFailure.phpt
+++ b/tests/MockFailure.phpt
@@ -25,7 +25,7 @@ Double\DateTime\P1:
     but 1 were made:
       - format("Y-m-d") @ fixtures/MockFailure.php:%d
 
-%s/src/ProphecyTrait.php:%d
+%s/ProphecyTrait.php:%d
 %s/tests/run_test.php:%d
 
 FAILURES!