fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// This test checks that fields are displayed as expected (one by line). 2go-to: "file://" + |DOC_PATH| + "/test_docs/fields/struct.Struct.html" 3store-position: ("#structfield\.a", {"y": a_y}) 4store-position: ("#structfield\.b", {"y": b_y}) 5assert: |a_y| < |b_y| 6 7go-to: "file://" + |DOC_PATH| + "/test_docs/fields/union.Union.html" 8store-position: ("#structfield\.a", {"y": a_y}) 9store-position: ("#structfield\.b", {"y": b_y}) 10assert: |a_y| < |b_y| 11 12go-to: "file://" + |DOC_PATH| + "/test_docs/fields/enum.Enum.html" 13store-position: ("#variant\.A\.field\.a", {"y": a_y}) 14store-position: ("#variant\.A\.field\.b", {"y": b_y}) 15assert: |a_y| < |b_y| 16store-position: ("#variant\.B\.field\.a", {"y": a_y}) 17store-position: ("#variant\.B\.field\.b", {"y": b_y}) 18assert: |a_y| < |b_y|