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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user