Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Commit

Permalink
change getLength function to length
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
rhysforyou committed Aug 29, 2017
1 parent 3e7bbf7 commit 93b5c34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Enzyme.re
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ external name : shallowWrapper => string = "name" [@@bs.send];
external forEach : (shallowWrapper => unit) => shallowWrapper = "forEach" [@@bs.send.pipe: shallowWrapper];
external map : (shallowWrapper => 'a) => array 'a = "forEach" [@@bs.send.pipe: shallowWrapper];

external getLength : shallowWrapper => int = "length" [@@bs.get];
external length : shallowWrapper => int = "length" [@@bs.get];
2 changes: 1 addition & 1 deletion src/Enzyme.rei
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ external name : shallowWrapper => string = "name" [@@bs.send];
external forEach : (shallowWrapper => unit) => shallowWrapper = "forEach" [@@bs.send.pipe: shallowWrapper];
external map : (shallowWrapper => 'a) => array 'a = "forEach" [@@bs.send.pipe: shallowWrapper];

external getLength : shallowWrapper => int = "length" [@@bs.get];
external length : shallowWrapper => int = "length" [@@bs.get];

0 comments on commit 93b5c34

Please sign in to comment.