Skip to content

Commit

Permalink
501<->500 migrations: adding a test with attributes
Browse files Browse the repository at this point in the history
Signed-off-by: Paul-Elliot <[email protected]>
  • Loading branch information
panglesd committed Sep 19, 2023
1 parent 08aed5c commit a0d0c35
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/501_migrations/normal_migrations.t
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,13 @@ Tests for the Parsetree change for generative functor applications
$ ./compare_on.exe file.ml ./identity_driver.exe | grep -v "without_migrations" | grep -v "with_migrations"
[1]

$ cat > file.ml << EOF
> module F () = struct end
> module M = F [@attr1] () [@attr2]
> EOF
$ ./compare_on.exe file.ml ./identity_driver.exe | grep -v "without_migrations" | grep -v "with_migrations"
[1]

$ cat > file.ml << EOF
> module F () = struct end
> module M = F(struct end)
Expand Down

0 comments on commit a0d0c35

Please sign in to comment.