Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
Jorik Schellekens 2020-08-10 11:57:54 +01:00 committed by GitHub
parent f1cc8eb1e3
commit 14e22d41dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ it("types identifiers correctly", () => {
expect(identifierType("#alias:matrix.org")).toEqual(LinkDiscriminator.Alias);
});
it("types garbadge as such", () => {
it("types garbage as such", () => {
expect(identifierType("sdfa;fdlkja")).toEqual(LinkDiscriminator.ParseFailed);
expect(identifierType("$event$matrix.org")).toEqual(
LinkDiscriminator.ParseFailed