From abce8439231f88e8e58f52f65cfd07de10696a12 Mon Sep 17 00:00:00 2001 From: Arnaud TAMAILLON Date: Tue, 3 Sep 2024 00:06:15 +0200 Subject: [PATCH] Fix message --- src/UglyToad.PdfPig/Tokenization/Scanner/PdfTokenScanner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UglyToad.PdfPig/Tokenization/Scanner/PdfTokenScanner.cs b/src/UglyToad.PdfPig/Tokenization/Scanner/PdfTokenScanner.cs index 929dbbd9..75c38ae9 100644 --- a/src/UglyToad.PdfPig/Tokenization/Scanner/PdfTokenScanner.cs +++ b/src/UglyToad.PdfPig/Tokenization/Scanner/PdfTokenScanner.cs @@ -195,7 +195,7 @@ } // This should never happen. - Debug.Assert(false, "Encountered a '{' operator before the end of the previous object."); + Debug.Assert(false, $"Encountered a '{coreTokenScanner.CurrentToken}' operator before the end of the previous object."); return false; }