mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:20:11 +01:00
Put min_prelude in a testdata dir (#5635)
This makes the min_prelude files a little more consistent with how we use testdata elsewhere, avoiding some special casing of them.
This commit is contained in:
@@ -507,12 +507,12 @@ minimal `Core` package and `prelude` library to the file test with the
|
||||
`check/testdata/facet_types/min_prelude/my_test.carbon` might contain:
|
||||
|
||||
```
|
||||
// INCLUDE-FILE: toolchain/testing/min_prelude/facet_types.carbon
|
||||
// INCLUDE-FILE: toolchain/testing/testdata/min_prelude/facet_types.carbon
|
||||
```
|
||||
|
||||
We have a set of minimal `Core` preludes for testing different compiler feature
|
||||
areas in `//toolchain/testing/min_prelude/`. Each file begins with the line
|
||||
`package Core library "prelude";` to make it provide a prelude.
|
||||
areas in `//toolchain/testing/testdata/min_prelude/`. Each file begins with the
|
||||
line `package Core library "prelude";` to make it provide a prelude.
|
||||
|
||||
#### SemIR dumps and ranges
|
||||
|
||||
|
||||
Reference in New Issue
Block a user