Encoder tests using gql fail on Windows #7

Open
opened 2023-10-15 19:33:00 +02:00 by belka · 0 comments
Owner

The tests that use the gql quasi quoter fail becuase \n and \r don't match. The reason seems to be that git adds platform specific line endings and these breaks the multiline string literals. The solution would be probably to normalize the input. The quasi quoter uses lines and unlines functions but these don't handle cariage return. So a custom lines function may be helpful.

The tests that use the gql quasi quoter fail becuase \n and \r don't match. The reason seems to be that git adds platform specific line endings and these breaks the multiline string literals. The solution would be probably to normalize the input. The quasi quoter uses `lines` and `unlines` functions but these don't handle cariage return. So a custom `lines` function may be helpful.
belka added the
Kind
bug
label 2023-10-15 19:33:00 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: OSS/graphql#7
No description provided.