From 2a0db785569acd8905976a4378b124692e866ba1 Mon Sep 17 00:00:00 2001 From: Mathias Lang Date: Mon, 24 Jun 2024 11:24:14 +0200 Subject: [PATCH] Commit selections file and fix test failure with latest D-YAML The latest D-YAML slightly changed the behavior of Mark. Note that this should actually print /dev/null but we are simply fixing the test failure now. --- .gitignore | 3 --- dub.selections.json | 7 +++++++ source/configy/Test.d | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 dub.selections.json diff --git a/.gitignore b/.gitignore index 01b26a4..e47c06b 100644 --- a/.gitignore +++ b/.gitignore @@ -21,9 +21,6 @@ __dummy.html docs/ *-test-library *-test-unittest -# Since this is a library, we ignore `dub.selections.json`. -# It only matters when used with an application. -dub.selections.json # Code coverage *.lst diff --git a/dub.selections.json b/dub.selections.json new file mode 100644 index 0000000..c1f6b8e --- /dev/null +++ b/dub.selections.json @@ -0,0 +1,7 @@ +{ + "fileVersion": 1, + "versions": { + "dyaml": "0.10.0", + "tinyendian": "0.2.0" + } +} diff --git a/source/configy/Test.d b/source/configy/Test.d index 748f4d5..4240b2f 100644 --- a/source/configy/Test.d +++ b/source/configy/Test.d @@ -487,7 +487,7 @@ unittest } catch (ConfigException exc) { - assert(exc.toString() == "(0:0): chris.jay: Required key was not found in configuration or command line arguments"); + assert(exc.toString() == "(0:0): chris.jay: Required key was not found in configuration or command line arguments", exc.toString()); } }