瀏覽代碼

tests: Shorten test descriptions

Ole Krüger 10 年之前
父節點
當前提交
bd0f734414
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      tests/stack.cpp
  2. 4 4
      tests/types.cpp

+ 1 - 1
tests/stack.cpp

@@ -15,7 +15,7 @@ void test_function_3(int) {
 
 }
 
-TEST_CASE("Stack interaction") {
+TEST_CASE("stack_interaction") {
 	lua_State* state = luaL_newstate();
 
 	luwra::push(state, 1);

+ 4 - 4
tests/types.cpp

@@ -43,7 +43,7 @@ using SelectNumericTest =
 		TautologyTest
 	>::type;
 
-TEST_CASE("Test Value specialization for numeric C types", "types_numeric") {
+TEST_CASE("types_numeric") {
 	lua_State* state = luaL_newstate();
 
 	// Integer-based types
@@ -64,7 +64,7 @@ TEST_CASE("Test Value specialization for numeric C types", "types_numeric") {
 	lua_close(state);
 }
 
-TEST_CASE("Test Value specialization for string types", "types_string") {
+TEST_CASE("types_string") {
 	lua_State* state = luaL_newstate();
 
 	const char* test_cstr = "Luwra Test String";
@@ -103,7 +103,7 @@ TEST_CASE("Test Value specialization for string types", "types_string") {
 	lua_close(state);
 }
 
-TEST_CASE("Test Value specialization for tuples", "types_tuple") {
+TEST_CASE("types_tuple") {
 	lua_State* state = luaL_newstate();
 
 	int a = 13;
@@ -121,7 +121,7 @@ TEST_CASE("Test Value specialization for tuples", "types_tuple") {
 	lua_close(state);
 }
 
-TEST_CASE("Test Value specialization for bool") {
+TEST_CASE("types_bool") {
 	lua_State* state = luaL_newstate();
 
 	bool value = true;