mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 05:39:42 +00:00
Add AddTopic testing
This commit is contained in:
parent
b3208f4066
commit
319d30fb85
1 changed files with 13 additions and 0 deletions
|
@ -156,6 +156,13 @@ if onactivate
|
|||
; do something
|
||||
endif
|
||||
|
||||
End)mwscript";
|
||||
|
||||
const std::string sIssue3846 = R"mwscript(Begin issue3846
|
||||
|
||||
Addtopic -spells...
|
||||
Addtopic -magicka...
|
||||
|
||||
End)mwscript";
|
||||
|
||||
const std::string sIssue4061 = R"mwscript(Begin 01_Rz_neuvazhay-koryto2
|
||||
|
@ -398,6 +405,12 @@ End)mwscript";
|
|||
EXPECT_FALSE(!compile(sIssue3725));
|
||||
}
|
||||
|
||||
TEST_F(MWScriptTest, mwscript_test_3846)
|
||||
{
|
||||
registerExtensions();
|
||||
EXPECT_FALSE(!compile(sIssue3846));
|
||||
}
|
||||
|
||||
TEST_F(MWScriptTest, mwscript_test_4061)
|
||||
{
|
||||
EXPECT_FALSE(!compile(sIssue4061));
|
||||
|
|
Loading…
Reference in a new issue