From ed283d97ca7680b3c27b2d75da9937f4f379e321 Mon Sep 17 00:00:00 2001
From: philipp lang <philipp@aweos.de>
Date: Mon, 31 Mar 2025 01:55:45 +0200
Subject: [PATCH] Fix tests

---
 src/FakesCompilation.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/FakesCompilation.php b/src/FakesCompilation.php
index 8c5a568..17d6eae 100644
--- a/src/FakesCompilation.php
+++ b/src/FakesCompilation.php
@@ -27,7 +27,7 @@ trait FakesCompilation
 
         $validDocuments = $compilations->filter(fn ($compilation) => $check($compilation));
 
-        Assert::assertNotEmpty($validDocuments, 'Failed that TeX Document "' . $documentClass . '" has been compiled with given check.');
+        Assert::assertFalse($validDocuments->isEmpty(), 'Failed that TeX Document "' . $documentClass . '" has been compiled with given check.');
     }
 
     /**