Skip to content

dune init project foo gives poor default name for test #9131

@tjdevries

Description

@tjdevries

Expected Behavior

When creating a new project with dune init project foo, the default dune file for the test folder could look like:

(test
 (name test_foo))

Actual Behavior

When creating a new project with dune init project foo, the default dune file for the test folder will look like:

(test
 (name foo))

This makes it really confusing to new people when they try and add their foo library as a library dependency in this dune file.

Reproduction

  • PR with a reproducing test:
  1. dune init project foo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions