aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/main.cc')
-rw-r--r--tests/errors/main.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/errors/main.cc b/tests/errors/main.cc
index 6b024d287..5ac429b46 100644
--- a/tests/errors/main.cc
+++ b/tests/errors/main.cc
@@ -5,11 +5,15 @@
using std::optional;
using std::nullopt;
+using std::cout;
+using std::endl;
int main() {
using namespace nix;
+ ErrorInfo::programName = optional("errorTest");
+
/*
ColumnRange columnRange;
columnRange.start = 24;