Commit e465137
committed
actor: fix example test function naming convention
This commit updates the example test function names to follow Go's
convention for example functions. The functions were renamed from
ExampleBasicActor and ExampleStructActor to Example_basicActor and
Example_structActor respectively.
This naming convention with an underscore ensures that the examples
are still recognized as valid example functions by the Go testing
framework while avoiding potential naming conflicts with actual types
in the package.1 parent 58e8437 commit e465137
File tree
2 files changed
+4
-4
lines changed- actor
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments