Skip to content

Commit

Permalink
Fix bad feaLib AST usage
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Jul 20, 2022
1 parent 650498b commit 1e5a043
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/featureCompiler_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,11 @@ def write(self, font, feaFile, compiler=None):
foo = ast.FeatureBlock("FOO ")
foo.statements.append(
ast.SingleSubstStatement(
"a", "v", prefix="", suffix="", forceChain=None
[ast.GlyphName("a")],
[ast.GlyphName("v")],
prefix="",
suffix="",
forceChain=None,
)
)
feaFile.statements.append(foo)
Expand Down

0 comments on commit 1e5a043

Please sign in to comment.