Skip to content

Commit

Permalink
delete more English original text
Browse files Browse the repository at this point in the history
  • Loading branch information
EssaAlshammri committed Apr 6, 2024
1 parent 4082807 commit 2cbe6e4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,6 @@ type Triangle struct {
Triangle does not implement Shape (missing Area method)
```

It's telling us we cannot use a `Triangle` as a shape because it does not have an `Area()` method, so add an empty implementation to get the test working

المترجم يخبرنا انه لا يمكن استخدام `Triangle` كشكل لانه لا يحتوي على دالة `Area()`، لذا قم بأضافة تابع فارغ لتجعل الاختبار يعمل

```go {filename="shapes.go"}
Expand Down

0 comments on commit 2cbe6e4

Please sign in to comment.