From 56d618ac9b4c82a9a350f21bbc6ec2ec6a95c8b0 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 1 Feb 2016 10:08:31 -0800 Subject: Add Test for field.getArray() sort-order. One more test before replacing the old sort() mechanism. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1650623004 . --- testing/resources/javascript/field_expected.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 testing/resources/javascript/field_expected.txt (limited to 'testing/resources/javascript/field_expected.txt') diff --git a/testing/resources/javascript/field_expected.txt b/testing/resources/javascript/field_expected.txt new file mode 100644 index 0000000000..04aafd737e --- /dev/null +++ b/testing/resources/javascript/field_expected.txt @@ -0,0 +1,8 @@ +Alert: field is MyField +Alert: sub_a is MyField.Sub_A +Alert: nonesuch is undefined +Alert: found 4 sub-fields: +Alert: MyField.Sub_A +Alert: MyField.Sub_B +Alert: MyField.Sub_X +Alert: MyField.Sub_Z -- cgit v1.2.3