Rename function in text
This commit is contained in:
@ -4,11 +4,11 @@ describe("add",
|
|||||||
function() {
|
function() {
|
||||||
it("1 + 1 = 2",
|
it("1 + 1 = 2",
|
||||||
function() {
|
function() {
|
||||||
expect(arith.add(1, 1)).toBe(2);
|
expect(arith.plus(1, 1)).toBe(2);
|
||||||
});
|
});
|
||||||
it("0 + x = x",
|
it("0 + x = x",
|
||||||
function() {
|
function() {
|
||||||
expect(arith.add(0, 1)).toBe(1);
|
expect(arith.plus(0, 1)).toBe(1);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user