diff options
author | dan sinclair <dj2@everburning.com> | 2019-03-25 11:25:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-25 11:25:17 -0400 |
commit | d7926a5f1eca75f848be1a4c7757ed4fd70a5da0 (patch) | |
tree | 5abe86a562fa77fa10639c63f2777281256b62f6 /tests | |
parent | 11d47964eedc0a69a686237e3caa3b7d1408b263 (diff) | |
download | amber-d7926a5f1eca75f848be1a4c7757ed4fd70a5da0.tar.gz |
Add EXPECT EQ (#411)
This CL adds the EXPECT EQ command into amber script.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cases/expect_eq.amber | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/cases/expect_eq.amber b/tests/cases/expect_eq.amber new file mode 100644 index 0000000..f9affc6 --- /dev/null +++ b/tests/cases/expect_eq.amber @@ -0,0 +1,17 @@ +#!amber +# Copyright 2019 The Amber Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +BUFFER orig_buf DATA_TYPE int32 SIZE 100 FILL 11 +EXPECT orig_buf IDX 0 EQ 11 |