use Test;

plan 1;

#| before
module M;
#= after

is M.WHY, "before\nafter", 'module + semicolon trailing comment';

use Test;

plan 1;

#| before
unit module M;
#= after

is M.WHY, "before\nafter", 'module + semicolon trailing comment';

Fix deprecation message for module
Fix deprecation message for module
