From 4b1a1fd5ec72df31bc43c5d82311a316c60d61f6 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Mon, 19 Dec 2016 00:32:51 -0500 Subject: Minor refactoring of Text_Based_Test Turns out astyle has some bugs wrt C++11 initialize lists. Rather than having astyle mangle all of the tests, convert to using a string which is split once at the start instead of a vector of keys. --- src/tests/test_pbkdf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/test_pbkdf.cpp') diff --git a/src/tests/test_pbkdf.cpp b/src/tests/test_pbkdf.cpp index 0ff502a9a..a4db5d8e0 100644 --- a/src/tests/test_pbkdf.cpp +++ b/src/tests/test_pbkdf.cpp @@ -19,7 +19,7 @@ class PBKDF_KAT_Tests : public Text_Based_Test { public: PBKDF_KAT_Tests() : Text_Based_Test("pbkdf", - {"OutputLen", "Iterations", "Salt", "Passphrase", "Output"}) + "OutputLen,Iterations,Salt,Passphrase,Output") {} Test::Result run_one_test(const std::string& pbkdf_name, const VarMap& vars) override -- cgit v1.2.3