1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2025-04-21 12:27:27 +03:00

b2/: introduce dimensionless values (field syntax: name=##)

This commit is contained in:
Werner Almesberger
2012-06-01 00:20:31 -03:00
parent 4fb5f26043
commit d48a9030e0
7 changed files with 72 additions and 14 deletions

View File

@@ -41,7 +41,7 @@ EOF
#------------------------------------------------------------------------------
tst "hierarchy: absolute value field" <<EOF
tst "hierarchy: absolute value field (with unit)" <<EOF
{ X=#foo };
EOF
@@ -51,7 +51,17 @@ EOF
#------------------------------------------------------------------------------
tst_fail "hierarchy: absolute value field (omit type name)" <<EOF
tst "hierarchy: absolute value field (without unit)" <<EOF
{ X=## };
EOF
expect <<EOF
{ X=## }
EOF
#------------------------------------------------------------------------------
tst_fail "hierarchy: absolute value field (omit unit name)" <<EOF
{ X=# };
EOF