diff --git a/public/docs/_examples/architecture/dart/lib/sales_tax_component.dart b/public/docs/_examples/architecture/dart/lib/sales_tax_component.dart
index 7f5ed5036c..4a1977ba06 100644
--- a/public/docs/_examples/architecture/dart/lib/sales_tax_component.dart
+++ b/public/docs/_examples/architecture/dart/lib/sales_tax_component.dart
@@ -11,10 +11,7 @@ import 'tax_rate_service.dart';
The sales tax is
- {{ getTax(amountBox.value) | currency:'USD':false:'1.2-2' }}
-
+ {{ getTax(amountBox.value) | currency:'USD':true:'1.2-2' }}
''',
providers: const [SalesTaxService, TaxRateService])
diff --git a/public/docs/_examples/architecture/e2e-spec.ts b/public/docs/_examples/architecture/e2e-spec.ts
index c1ee8cf00d..e967804483 100644
--- a/public/docs/_examples/architecture/e2e-spec.ts
+++ b/public/docs/_examples/architecture/e2e-spec.ts
@@ -71,9 +71,7 @@ function salesTaxTests() {
it('shows sales tax', async function () {
let page = getPageElts();
page.salesTaxAmountInput.sendKeys('10', protractor.Key.ENTER);
- // Note: due to Dart bug USD is shown instead of $
- let re = /The sales tax is (\$|USD)1.00/;
- expect(page.salesTaxDetail.getText()).toMatch(re);
+ expect(page.salesTaxDetail.getText()).toEqual('The sales tax is $1.00');
});
}