lyx_mirror/src/tests/test_ListingsCaption
Georg Baum 3b842d5a62 Add unit test for InsetListings::getCaption()
The regex in InsetListings::getCaption() does not work with C++11 and
std::regex. This can now be checked easily by this new unit test.
2015-11-22 17:36:32 +01:00

8 lines
136 B
Bash
Executable File

#!/bin/sh
regfile=`cat ${srcdir}/tests/regfiles/ListingsCaption`
output=`./check_ListingsCaption`
test "$regfile" = "$output"
exit $?