Skip to content

Commit

Permalink
Clean up the extra assert in person factory (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
mollyibot authored Nov 26, 2024
1 parent 092335c commit 3e28627
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion closure/compiler/test/goog_es6_interop/person_factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ export const createPerson = (name) => {
if (pieces.length != 2) {
throw new Error('Assertion failed');
}
assert(2 === pieces.length);
return new Person(pieces[0], pieces[1]);
};

0 comments on commit 3e28627

Please sign in to comment.