Added test for suffix with UTF-8

This commit is contained in:
Salvador E. Tropea 2021-02-12 14:31:24 -03:00
parent 85c5db268e
commit 6a5c082ab7
2 changed files with 2 additions and 3 deletions

View File

@ -36,11 +36,10 @@ def test_hpgl_auto(test_dir):
prj = 'simple_2layer'
ctx = context.TestContext(test_dir, 'HPGLAuto', prj, 'hpgl_auto', PS_DIR)
ctx.run()
f_cu = ctx.get_gerber_filename('F_Cu', '.plt')
f_silk = ctx.get_gerber_filename('B_Silks', '.plt')
ctx.expect_out_file(f_cu)
ctx.expect_out_file(f_silk)
ctx.dont_expect_out_file(ctx.get_gerber_job_filename())
ctx.search_err(r'Only ASCII chars are allowed for layer suffixes')
ctx.clean_up()

View File

@ -25,7 +25,7 @@ outputs:
pen_width: 0.5
layers:
- layer: F.Cu
suffix: F_Cu
suffix: F_Cuá
- layer: B.SilkS
suffix: B_Silks