Skip to content

Commit 26d7d3f

Browse files
space to separate angular expression delimiters from filter argument
object
1 parent eddafed commit 26d7d3f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/unit/filter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ describe("Filter", function () {
3434

3535
it("Should translate known strings according to translate context", function () {
3636
catalog.currentLanguage = "pt-BR";
37-
var el = $compile("<span>{{\"Hello\"|translate:{translateContext:'Bull'}}}</span>")($rootScope);
37+
var el = $compile("<span>{{\"Hello\"|translate:{translateContext:'Bull'} }}</span>")($rootScope);
3838
$rootScope.$digest();
3939
assert.equal(el.text(), "Olé");
40-
el = $compile("<span>{{\"Hello\"|translate:{translateContext:'Person'}}}</span>")($rootScope);
40+
el = $compile("<span>{{\"Hello\"|translate:{translateContext:'Person'} }}</span>")($rootScope);
4141
$rootScope.$digest();
4242
assert.equal(el.text(), "Olá");
4343
el = $compile("<span>{{\"Hello\"|translate}}</span>")($rootScope);

0 commit comments

Comments
 (0)