diff options
| author | Philip Munksgaard <pmunksgaard@gmail.com> | 2018-10-05 19:08:52 +0200 |
|---|---|---|
| committer | Philip Munksgaard <pmunksgaard@gmail.com> | 2018-10-05 19:13:37 +0200 |
| commit | 5f8dc0ddf47274e0a98111edc816b825484d0d1a (patch) | |
| tree | baeba3df150af5a0b53cd75d91e445098da62f65 /src/rustllvm/RustWrapper.cpp | |
| parent | 46ccce0803386db3d7c0dbdd30d31474889b64a0 (diff) | |
| download | rust-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/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
