From 348acf1a8eefa1e73b9754790356bbc6840a9d10 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 17 Apr 2023 12:57:00 -0500 Subject: [PATCH] Allow printing NotLoaded values in tests --- test/test_helper.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_helper.rb b/test/test_helper.rb index a58b902a12973ee1b94247b149e6b014f642b6c2..ad22083f42ae02adf2803a4854162579272ea215 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -164,6 +164,12 @@ def execute_command( ).execute(&blk).sync end +class NotLoaded < BasicObject + def inspect + "" + end +end + class Matching def initialize(&block) @block = block