Skip to content

Test fail in convert_test.go #74

@fossdd

Description

@fossdd

Hi, since mautrix-twitter 0.4.1 (also for 0.4.2), i'm getting the following test failure with go test -v ./...

=== RUN   TestParse/emoji_before_url
    convert_test.go:49: 
        	Error Trace:	go.mau.fi/mautrix-twitter/pkg/connector/twitterfmt/convert_test.go:49
        	Error:      	Not equal: 
        	            	expected: "🚀 https://x.com/ abc"
        	            	actual  : "🚀 <a href=\"https://x.com/\"></a> abc"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-🚀 https://x.com/ abc
        	            	+🚀 <a href="https://x.com/"></a> abc
        	Test:       	TestParse/emoji_before_url
--- FAIL: TestParse (0.00s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions