MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / assert_printerGivenPositiveNumNewlines

Function assert_printerGivenPositiveNumNewlines

quest/src/core/errors.cpp:881–887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

879}
880
881void assert_printerGivenPositiveNumNewlines() {
882
883 int min = 1;
884
885 if (printer_getNumTrailingNewlines() < min)
886 raiseInternalError("A printer utility attempted to print one fewer than the user-set number of trailing newlines; but that number was zero! This violates prior validation.");
887}
888
889
890

Callers 1

print_oneFewerNewlinesFunction · 0.85

Calls 2

raiseInternalErrorFunction · 0.85

Tested by

no test coverage detected