diff --git a/packages/uni-template-compiler/__tests__/compiler-app-plus-extra.service.spec.js b/packages/uni-template-compiler/__tests__/compiler-app-plus-extra.service.spec.js index aea890b0532234b57418ca692e9dc7ce34da33ab..f41b94cce02d2108f49cee981fb5cbf1a74b6b1f 100644 --- a/packages/uni-template-compiler/__tests__/compiler-app-plus-extra.service.spec.js +++ b/packages/uni-template-compiler/__tests__/compiler-app-plus-extra.service.spec.js @@ -250,6 +250,16 @@ describe('codegen', () => { ' {{text}} text text {{text}} ', `with(this){return _c('view',[_v((_$s(0,'t0-0',_s(text)))+(_$s(0,'t0-1',_s(text))))])}` ) + }) + it('generate bool attr', () => { + assertCodegen( + '