fixes https://github.com/coder/internal/issues/1542 Drop line endings before test assertion to make it more cross-platform.