Index: utils/template/tokenizer_base.dart |
diff --git a/utils/template/tokenizer_base.dart b/utils/template/tokenizer_base.dart |
index d8862b92c837156de0d70dac035766c996f3a554..65b96cdab2f370a7dec1dca994a8641425a458fc 100644 |
--- a/utils/template/tokenizer_base.dart |
+++ b/utils/template/tokenizer_base.dart |
@@ -180,7 +180,7 @@ class TokenizerBase extends TokenizerHelpers implements TokenSource { |
int readHex([int hexLength]) { |
int maxIndex; |
- if (hexLength === null) { |
+ if (hexLength == null) { |
maxIndex = _text.length - 1; |
} else { |
// TODO(jimhug): What if this is too long? |
@@ -191,7 +191,7 @@ class TokenizerBase extends TokenizerHelpers implements TokenSource { |
while (_index < maxIndex) { |
final digit = _hexDigit(_text.charCodeAt(_index)); |
if (digit == -1) { |
- if (hexLength === null) { |
+ if (hexLength == null) { |
return result; |
} else { |
return -1; |