diff --git a/src/exceptions.php b/src/exceptions.php
index 1aa7d8bd661a9d457964333272bb530ac0ae6375..71863ebb76296e23217a71fe7bcb73ae27979f86 100644
--- a/src/exceptions.php
+++ b/src/exceptions.php
@@ -7,7 +7,7 @@ use Throwable;
 
 final class AssertFunctionError extends \AssertionError {
 
-	const PATH_DEPTH = 3;
+	const PATH_DEPTH = 2;
 
 	/** @internal use named constructors instead */
 	public function __construct(\ReflectionFunction $reflection, string $message, \Throwable $previous = NULL)
diff --git a/tests/fn.assertSignature.wrongNumberOfArguments.phpt b/tests/fn.assertSignature.wrongNumberOfArguments.phpt
index 1956fabb492bbfb6f9b9dde5c704c7f2f3e07fbc..af4f1471833a0ae6a290c121fa38ea6578002e3a 100644
--- a/tests/fn.assertSignature.wrongNumberOfArguments.phpt
+++ b/tests/fn.assertSignature.wrongNumberOfArguments.phpt
@@ -4,7 +4,7 @@ require __DIR__ . '/bootstrap.php';
 require __DIR__ . '/testClasses.php';
 use function Grifart\AssertFunction\{assertSignature, nullable, params};
 use Tester\Assert;
-$position = 'assert-function-signature/tests/fn.assertSignature.wrongNumberOfArguments.phpt:9';
+$position = 'tests/fn.assertSignature.wrongNumberOfArguments.phpt:9';
 
 $f1 = function(T1 $t1, T2 $t2): T3 {return new T3;};