mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-26 08:01:08 -04:00
fix(curriculum): make test consistent with lowercase storage (#66420)
This commit is contained in:
@@ -389,9 +389,9 @@ The `view_settings` function should have one parameter.
|
||||
```js
|
||||
({
|
||||
test: () => runPython(`
|
||||
settings_in_test = {"theme": "light", "language": "English", "notifications": "enabled"}
|
||||
settings_in_test = {"theme": "light", "language": "english", "notifications": "enabled"}
|
||||
result = view_settings(settings_in_test)
|
||||
assert result == "Current User Settings:\\nTheme: light\\nLanguage: English\\nNotifications: enabled\\n"
|
||||
assert result == "Current User Settings:\\nTheme: light\\nLanguage: english\\nNotifications: enabled\\n"
|
||||
`)
|
||||
})
|
||||
|
||||
@@ -447,7 +447,7 @@ def view_settings(settings):
|
||||
|
||||
test_settings = {
|
||||
"theme": "light",
|
||||
"language": "English",
|
||||
"language": "english",
|
||||
"notifications": "enabled"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user