File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ The tests here are **binding** - changes to expected outputs require explicit ju
88```
99conformance/
1010├── valid/ # Programs that must parse successfully (exit 0)
11- │ ├── *.as # Source files
11+ │ ├── *.affine # Source files
1212│ └── *.expected # Expected parser output
1313├── invalid/ # Programs that must fail with diagnostics (exit non-zero)
14- │ ├── *.as # Source files
14+ │ ├── *.affine # Source files
1515│ └── *.expected # Expected error diagnostics
1616└── README.md # This file
1717```
@@ -42,7 +42,7 @@ dune runtest conformance
4242
4343## Adding New Tests
4444
45- 1 . Add ` .as ` source file to ` valid/ ` or ` invalid/ `
45+ 1 . Add ` .affine ` source file to ` valid/ ` or ` invalid/ `
46462 . Run the compiler to generate expected output
47473 . Review and save as ` .expected ` file
48484 . Commit both files together
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ AffineScript's conformance tests respect affine type constraints:
110110
1111111 . Read the aLib spec from ` aggregate-library/specs/ `
1121122 . Extract test vectors from YAML section
113- 3 . Create ` tests/conformance/<category>/<operation>.as `
113+ 3 . Create ` tests/conformance/<category>/<operation>.affine `
1141144 . Translate aLib function expressions to AffineScript syntax
1151155 . Add test to ` run_all.affine `
116116
You can’t perform that action at this time.
0 commit comments