Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling error #3

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Smart Home Refactoring C++ Kata

[![CI](https://github.com/Coding-Cuddles/smart-home-refactoring-cpp-kata/actions/workflows/main.yml/badge.svg)](https://github.com/Coding-Cuddles/smart-home-refactoring-cpp-kata/actions/workflows/main.yml)
[![Replit](https://replit.com/badge?caption=Try%20with%20Replit&variant=small)](https://replit.com/new/github/Coding-Cuddles/smart-home-refactoring-cpp-kata)
[![Replit](https://img.shields.io/badge/Try%20with%20Replit-black?logo=replit)](https://replit.com/new/github/Coding-Cuddles/smart-home-refactoring-cpp-kata)

## Overview

Expand Down
5 changes: 2 additions & 3 deletions smart_home.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <iostream>
#include <string>
#include <vector>

Expand Down Expand Up @@ -33,9 +32,9 @@ struct AirConditioner {
std::string turn_on() { return "AC turned on"; }
std::string turn_off() { return "AC turned off"; }

std::string set_temperature(int temperature_in_celcius)
std::string set_temperature(int temperature_in_celsius)
{
return "Set temperature to " + std::to_string(temperature_in_celcius);
return "Set temperature to " + std::to_string(temperature_in_celsius);
}
};

Expand Down
Loading