@@ -180,7 +180,7 @@ fn run_host_tests() -> Result<()> {
180
180
/// template to a temporary directory and builds it in isolation.
181
181
///
182
182
/// The build command is also checked against the contents of
183
- /// `BUILDING .md` to ensure that the doc correctly describes how to
183
+ /// `building .md` to ensure that the doc correctly describes how to
184
184
/// build an app.
185
185
fn test_latest_release ( ) -> Result < ( ) > {
186
186
// Recursively copy the template app to a temporary directory. This
@@ -195,16 +195,16 @@ fn test_latest_release() -> Result<()> {
195
195
run_cmd ( cp_cmd) ?;
196
196
197
197
// Create cargo build command, not using the `cargo` module to make
198
- // it explicit that it matches the command in `BUILDING .md`.
198
+ // it explicit that it matches the command in `building .md`.
199
199
let mut build_cmd = Command :: new ( "cargo" ) ;
200
200
fix_nested_cargo_env ( & mut build_cmd) ;
201
201
build_cmd
202
202
. args ( [ "build" , "--target" , "x86_64-unknown-uefi" ] )
203
203
. current_dir ( tmp_dir. join ( "template" ) ) ;
204
204
205
- // Check that the command is indeed in BUILDING .md, then verify the
205
+ // Check that the command is indeed in building .md, then verify the
206
206
// build succeeds.
207
- let building_md = include_str ! ( "../../BUILDING .md" ) ;
207
+ let building_md = include_str ! ( "../../book/src/tutorial/building .md" ) ;
208
208
assert ! ( building_md. contains( & command_to_string( & build_cmd) ) ) ;
209
209
run_cmd ( build_cmd)
210
210
}
0 commit comments