anchor.diff:             "  repeated Msg.Msg2 y=1;",
              "}"]).
   
  +parses_package_test() ->
  +    {ok, [{package,[p1,'.',p2]}, {{enum,e1}, _}]} =
  +        parse_lines(["package p1.p2;",
  +                     "enum e1 { a = 1; }"]).
  +
  +parses_import_test() ->
  +    {ok, [{package,[p1,'.',p2]}, {import, "a/b/c.proto"}]} =
  +        parse_lines(["package p1.p2;",
  +                     "import \"a/b/c.proto\";"]).
   
   generates_correct_absolute_names_test() ->
       {ok, Elems} = parse_lines(["message m1 {"
  
positive.code:         enum_def enum_fields enum_field
          field_opts field_opt cardinality type
          package_def
          identifiers
          option_def
          name
  
negative.code: -export([verify_refs/1]).
  -export([reformat_names/1]).
  -export([resolve_refs/1]).
  -export([fetch_imports/1]).
  
  
  identifier_name({identifier, _Line, Name}) -> list_to_atom(Name).
  