Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it("Comparable.compareTo", () => {
expect("a"[Comparable.compareTo]("a")).toBe(0);
expect("a"[Comparable.compareTo]("b")).toBeLessThan(0);
expect("b"[Comparable.compareTo]("a")).toBeGreaterThan(0);
});
});
it("Comparable.compareTo", () => {
expect("a"[Comparable.compareTo]("a")).toBe(0);
expect("a"[Comparable.compareTo]("b")).toBeLessThan(0);
expect("b"[Comparable.compareTo]("a")).toBeGreaterThan(0);
});
});