Skip to content
代码片段 群组 项目
未验证 提交 ce92ab93 编辑于 作者: Oscar Tovar's avatar Oscar Tovar 提交者: GitLab
浏览文件

Fix feature flag valid usage examples in errors

The hash used to reference the example in valid_usage! used symbols to
reference values by key. Since we were passing in a string, the lookup
would always fail, and the example in the error message would fail to
display as a result. To fix this, the `type` attribute is cast to a
symbol so that we use the expected type of key (Symbol). The spec has also
been changed to make a strict comparison, so that a regression for this
is caught in the future.
上级 84b06803
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册