about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorPhilip Munksgaard <pmunksgaard@gmail.com>2018-10-05 19:08:52 +0200
committerPhilip Munksgaard <pmunksgaard@gmail.com>2018-10-05 19:13:37 +0200
commit5f8dc0ddf47274e0a98111edc816b825484d0d1a (patch)
treebaeba3df150af5a0b53cd75d91e445098da62f65 /src/test/incremental/thinlto
parent46ccce0803386db3d7c0dbdd30d31474889b64a0 (diff)
downloadrust-5f8dc0ddf47274e0a98111edc816b825484d0d1a.tar.gz
rust-5f8dc0ddf47274e0a98111edc816b825484d0d1a.zip
Fix unneeded-trait-implementations-title test
The `@!has` command does not support specifying just a PATH and an XPATH. That
means that the previous test searched for the literal string
`//h2[@id="implementations"]` within the generated output, which obviously
didn't exist. Even after adding a trait implementation, the test still passed.
The correct way to check for the existence of a DOM element with the id
`implementations` is to use the `@count` keyword.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions