Module:SharedTest/testcases

-- Demo for Global Lua Modules/Testharness. -- @see Module:SharedTest -- @submodule return { hello = { options= { mode = 'invocation', nowiki = false },       tests = { --   | Parameters    | Expected result { 'Hello World!', 'Hello, world! I\'m Dev.' }, { 'Hello|World', 'Hello, world! I\'m Dev.' }, }   },    lang = { options= { mode = 'invocation', nowiki = false },       tests = { --   | Parameters    | Expected result {           nil, 'mw.language.getContentLanguage:getCode = en' }, }   },    main = { options= { mode = 'invocation', nowiki = false },       tests = { --   | Parameters    | Expected result { 'Hello World!', 'Hello, world! I\'m Dev.' }, { 'Hello|World', 'Hello, world! I\'m Dev.' }, }   } }