redef fun add_code(v, block) do
var code = block.raw_content
redef fun add_code(v, block) do
var code = block.raw_content
# Do not try to test non-nit code.
if meta != "nit" then return
# Try to parse code blocks
# Do not try to test non-nit code.
if meta != "nit" then return
# Try to parse code blocks
# except for a unit test in a module of `core`
# in this case, the whole `core` must be imported
# except for a unit test in a module of `core`
# in this case, the whole `core` must be imported