Skip to content

[dev]: Clean up daemon address parsing tests #1576

Open
@kittaakos

Description

@kittaakos

Describe the request

This is a follow-up of #1570.

Extracted from here:

There are multiple remarks:

  • initially, the CLI did not print out the daemon port, so it had to work with both json and text. That's why we had tests.
  • currently, it does not matter whether text or json is given after the --log-format because the address format is dictated by the daemon --format jsonmini|text|json flags.

Describe the current behavior

We should have tests that independently from the --config-format (json or text), can parse the daemon address (hostname and port).

Arduino IDE version

32d904c

Operating system

macOS

Operating system version

12.5.1

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions